yeahz Posted June 17, 2009 Report Posted June 17, 2009 Ir kāda iespēja izvēlēties vislielāko skaitli no tabulas? Manā gadījumā tas ir id. Es domāju apmēram kaut ko šādu: mysql_query("SELECT id FROM table WHERE id='vislielākais vai kaut kā tā'"); Quote
PheliX Posted June 17, 2009 Report Posted June 17, 2009 SELECT id FROM table ORDER BY id DESC LIMIT 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.