Posted By

endorfin on 09/14/08


Tagged

mysql php


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

oriolfb


Query - SELECT


 / Published in: PHP
 

  1. $query = "SELECT * FROM table";
  2. $ergebnis = mysql_query( $query );
  3. while($row = mysql_fetch_array( $result ))
  4. {
  5. echo $row['field'];
  6. }
  7. mysql_free_result( $result );

Report this snippet  

You need to login to post a comment.