Jump to content

[SOLVED] Problem with displaying record!!!


max_w1

Recommended Posts

i have a page which displayes the users image form the database.. i know the sql query for this buy it is not working!! can anyone help me pleeeese....

 

the code i am using is:

 $a =  mysql_query ("SELECT `avatar` FROM `users` WHERE `username` = '$welcome'") or die(mysql_error());
	print " $a "; 

 

but the output i am getting is:

Resource id #7
Link to comment
https://forums.phpfreaks.com/topic/88934-solved-problem-with-displaying-record/
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.