I have the following code on a page:

      $list = mysql_query("select id,title from table1");
      $list_row = mysql_fetch_array($list);
      $title = $list_row["title"];

      while($list_row)  {
      echo("$title <br>\n");

For some reason, when I load the page, instead of a list of the titles from
table1, I get the title from the first row of table1 repeated over and over.

Obviously I'm doing something wrong, and it's probably something really
dumb, right in front of my face... but I can't find it!  help?


Eric Schwinder
    AT = @
    DOT = (well... you know)

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to