sandbudd Posted August 15, 2009 Author Share Posted August 15, 2009 p2grace I get the same thing I can see the user id but thats it no firstname etc... Link to comment https://forums.phpfreaks.com/topic/170323-solved-simple-echo-statement-not-working/page/2/#findComment-898561 Share on other sites More sharing options...
wildteen88 Posted August 15, 2009 Share Posted August 15, 2009 mysql_fetch_object returns an object not an array. So you cant use echo $row['firstname']; echo $row['lastname']; You need to use echo $row->firstname; echo $row->lastname; Link to comment https://forums.phpfreaks.com/topic/170323-solved-simple-echo-statement-not-working/page/2/#findComment-898563 Share on other sites More sharing options...
sandbudd Posted August 15, 2009 Author Share Posted August 15, 2009 perfect....thank you sooooo much, man this was driving me crazy! Appreciate all the help Link to comment https://forums.phpfreaks.com/topic/170323-solved-simple-echo-statement-not-working/page/2/#findComment-898565 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.