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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.