Quote:
Originally Posted by Fou-Lu
That's unusual; you shouldn't be getting a query is empty from this.
You should be able to verify this by modifying this: $result = mysql_query($order); to this: $result = mysql_query($order) or die('Failed to execute query: ' . $order . ', error: ' . mysql_error());. I'm not going to lie, I'm not convinced that the problem is here.
Edit:
BTW, if you don't see that error string in the die, then the problem is not here. If you do, post that in its entirety.
|
Hello,
No error the script runs but the textboxes don't contain the information they are supposed to hmm

(

Perhaps the fact that i'm using ID?
The best I can get is the boxes all filled but with the first users data
That was
Code:
$order = "SELECT * FROM members where id='$id'";
To
Code:
$order = "SELECT username FROM members";
So i'm certain that the error is here.Let me know