Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~2K People Reached

9 Posted Topics

Member Avatar for stevo356

Hi All, I'm having a problem with a query - which is based on conditional user inputs. In all circumstances, the outputted query ALWAYS works in phpmyadmin returning rows where applicable, but not always in php. No errors are displayed, with error reporting set at E_ALL, and mysql_error hasn't been …

Member Avatar for pritaeas
0
264
Member Avatar for bufospro

Hi, If it's a mysql database, then change "query($sql);" to "mysql_query($sql);"

Member Avatar for bufospro
0
159
Member Avatar for stevo356

Hi, I have a problem with setInterval (jquery). It works great, but I wan't the element to stop refreshing when a textarea is selected (so that users can insert text). Here is the refresh code I'm using currently. [CODE] $(document).ready(function() { $("#container").load("php/functions.php?page=wall"); refreshId = setInterval(function() { $("#container").load("php/functions.php?page=wall&r="+Math.random()); }, 1000); }); …

Member Avatar for Airshow
0
388
Member Avatar for t3chpr0digy

Hello, I see that your query says "ORDER BY '$sortby'" - you aren't defining a sort column here; just either ASC or DESC. You'll need to have a variable for a sort column also: [code] $column=$_GET["sortbycolumn"]; //then alter your (very complex) query to be like this ....ORDER BY '$column' '$sortby'" …

Member Avatar for stevo356
0
124
Member Avatar for Jguillen

Not entirely sure how you've written this, but assuming your form posts out to a processing page, then you could have this on the page that processes the mail... (so long as it's declared before the header) [CODE] if(mail("to","subject","body","headers")){ @header("Location: form.php") & die(); } [/CODE] Just as a rough guide. …

Member Avatar for stevo356
0
90
Member Avatar for alhindasi

Hi, This error means nothing without the code. Can you let us see the code? foreach is a simple structure, but it's impossible to assist from just the error reports.

Member Avatar for stevo356
0
114
Member Avatar for luke noob

Well, you'd need to be able to know if "$q[1]" exists, for example, if($q[1]){ $last=$q[1]; } else { $last=""; } There are many ways to do this, and the above is just a simple way - i.e if $q[1] is of a value other than empty, then make $last the …

Member Avatar for luke noob
0
170
Member Avatar for stevo356

Hey guys, Posted this elsewhere also, but looking for a resolution to my problem as quickly as I can. I've been developing a bespoke "helpdesk" system for work and, while it works well on the whole, I am having major problems with base64 encoded email bodies. Admittedly, this might be …

0
91
Member Avatar for stevo356

Hi guys, I'm both new here, and new to c++ so be gentle! Over the past short time we've been looking at c++ on our course, but I don't believe it has been taught too well, and I'm struggling to understand what should really be basic concepts? An assignment we've …

Member Avatar for Ancient Dragon
0
148

The End.