auto_increment $value
| From: | John Taylor-Johnston | Date: | Mon, 10 Mar 2003 05:16:28 +0000 |
| Subject: | auto_increment $value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-138911@lists.php.net to get a copy of this message | ||
Anyone know how to get the auto_increment $value out of a mysql table.
I'm thinking it is in mysql_fetch_array but don't see how to get it.
> $SQL = "SELECT * FROM table ORDER BY id asc LIMIT $autoindex -5 ,5;";
>
> I would like to get the autoindex value of my table and use it in my SQL. Can I get the
> autoindex? :) How?