“mobile”/ adcombo
Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

Featch ID number from Datsbase

Discussion in 'Programming and Scripts' started by amber.long83, Dec 2, 2009.

  1. amber.long83

    amber.long83 Affiliate affiliate

    Hello Everyone!

    I have made one registration system that can send an email with registered data to the administrator and to the user.

    now my problem is that how can i know the ID number of the new user registred in my database, that have auto increase function, and display it in the email that the system will send?

    $checkid = mysql_query("SELECT id FROM form1 WHERE id='$id'");

    $message2 = "Your ID: $id"

    any one can please help me to solve this problem

    Thanks in advance.
  2. terraleads

Top Resources