note 86458 rejected from function.mysql-fetch-array by thiago
| From: | thiago@php.net | Date: | Mon, 20 Oct 2008 13:08:04 +0000 |
| Subject: | note 86458 rejected from function.mysql-fetch-array by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145506@lists.php.net to get a copy of this message | ||
Note Submitter: lopes80andre at gmail dot com
----
TABLE_NAMES
id | Name
----------
1 | Peter
2 | John
3 | Maria
TABLE_COUNTER
counter
1
I'am trying to make a loop for each time I run the "show_me_the_name.php"
the script shows me a name, using two tables "TABLE_NAMES" and "TABLE_COUNTER"
For example:
On the first time I run the php script shows "Peter";
Second time "John";
3º time, "Maria";
4º time, "Peter";
5º time, "John";
How can I do this using mysql_fetch_array?