Jump to content

[SOLVED] can you spot the not?


coder9

Recommended Posts

hi

 

can you see any problem with this codes below?

$query = "SELECT * FROM jwinners WHERE gsid='1'";
$result = mysql_query($query) or die("Problem with the query: $query on line " . __LINE__ . '<br>' . mysql_error());
$row = mysql_fetch_row($result);

$username = $row[username];

echo "user:  ".$username;

 

i used it and it run without an error and it show no value at all

 

any help or advice please?

 

thank you.

 

 

Link to comment
https://forums.phpfreaks.com/topic/117113-solved-can-you-spot-the-not/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.