Hi,

How could I generate a new number/ID for a new line in my database?

Tell me if I'm not clear enough.

Thanks

Recommended Answers

How could I generate a new number/ID for a new line in my database?

What do you mean generate?

Do you mean create a row for a new number each time someone click the submit button on a form?

Jump to Post

All 2 Replies

Member Avatar

How could I generate a new number/ID for a new line in my database?

What do you mean generate?

Do you mean create a row for a new number each time someone click the submit button on a form?

Doesn't matter, I forgot about the auto increment function in the database itself :P

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.