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

how to generate a number in a textfield automatically

P: 32
I want that in the number textfield a number is automatically generated, and If there is a number in the table of the database the next number is generated in the number textfield.
How can I do this?
Feb 28 '07 #1
Share this Question
Share on Google+
2 Replies


ronverdonk
Expert 2.5K+
P: 4,258
What number textfield are you talking about?
Is it a html form field, a php text variable, a database column?
Please give us more exact information on what you want

Ronald :cool:
Feb 28 '07 #2

P: 32
What number textfield are you talking about?
Is it a html form field, a php text variable, a database column?
Please give us more exact information on what you want

Ronald :cool:
I have a table in a database which has a column 'serialnum' . I have created a php to insert values into the table. Now I want that when a user open that form a number is automatically generated in the textfield of serial number and if there is already a entry in the table the number next to that entry is generated in the textfield.
How can I do this?
Mar 1 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.