paulman888888 Posted June 6, 2008 Share Posted June 6, 2008 How do i get my php script to echo all data from the same row as 'id' from a mysql database? Thankyou Link to comment https://forums.phpfreaks.com/topic/109000-quick-question/ Share on other sites More sharing options...
jonsjava Posted June 6, 2008 Share Posted June 6, 2008 <?php $sql = "Your sql here"; $result = mysql_query($sql); $row = mysql_fetch_assoc($result); print_r($row); ?> That will give you an array. Link to comment https://forums.phpfreaks.com/topic/109000-quick-question/#findComment-559175 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.