Posted By

paul0078 on 04/15/12


Tagged

mysql php while


Versions (?)

Handling SELECT result sets using mysql_fetch_array


 / Published in: PHP
 

  1. <?php
  2.  
  3. while ($row = mysql_fetch_array($result)) {
  4. echo "<p>" . $row['guitarname'] . " made by " . $row['guitarcompany'] ."</p>";
  5. }
  6.  
  7. ?>

Report this snippet  

You need to login to post a comment.