By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,854 Members | 2,015 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,854 IT Pros & Developers. It's quick & easy.

Help on this query

P: n/a
Hi folks,

I am new to php+mysql, can anyone help on this query?
If we have a table

id name
1 allen
2 bill
3 mark
15 david
200 frank
201 dell
202 compaq
203 hpq
210 gil
211 paul
218 rob
355 rose
356 peter

I would like to have a query which can return the next availiable id
and it is great 200, in above case it is 204. Thank you in advance.
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.