innocent15 Posted January 2, 2009 Share Posted January 2, 2009 Hello, I suffer several times when I try to transform data in a mysql table, to an html table, I'll explane... First, I wanna now how to do that : $sql = "SELECT name, age FROM users WHERE birthdate = '$birthdate'); $call = @mysql_query($sql); I wanna extract ALL the (name, age) where birdthdate = $birthdate, I mean everywhere the birthdate is the same as ($birthdate), I wanna get (name, age) info, and then display all these info in an html table. I guess I can't do that using mysql_fetch_row($cal) Link to comment https://forums.phpfreaks.com/topic/139185-how-to-transform-data-in-database-to-a-table/ Share on other sites More sharing options...
Absorbator Posted January 2, 2009 Share Posted January 2, 2009 Didn't you try mysql_fetch_array() function? Link to comment https://forums.phpfreaks.com/topic/139185-how-to-transform-data-in-database-to-a-table/#findComment-727970 Share on other sites More sharing options...
s.mujtaba Posted January 2, 2009 Share Posted January 2, 2009 Yes use mysq_fetch_array($call) like what Absorbator says Link to comment https://forums.phpfreaks.com/topic/139185-how-to-transform-data-in-database-to-a-table/#findComment-727972 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.