Hello everybody.
I've created a PHP page that adds a new record to a table. I want to know what's the ID of that created record in that table.
For example:

mysql_query("insert into tableName(field_A,field_B) values('valueA','valueB')");

Recommended Answers

All 2 Replies

Thank you very much.. That's exactly what I want.

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.