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

Member Avatar for LastMitch

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.