hi. My name is Bob and i'm from Brazil.
i'm having a problem with my PHP code. Ok! I'll explain:
post.php
-------------
users fill the form and press SUBMIT and sends data for put.php
put.php
-------------
here i get the data with $_REQUEST. I put the data on the database
table (mysql).
Then i want to send an email for a group of people with a link that
contains an 'id', like www.site.com/read.php?id=32
This 'id' was automaticly generated when inserted data on the
database(AUTOIN CREMENT). But i can't get this just added 'id'.
So, the steps are:
How can i do this?
Thank you for your time.
i'm having a problem with my PHP code. Ok! I'll explain:
post.php
-------------
users fill the form and press SUBMIT and sends data for put.php
put.php
-------------
here i get the data with $_REQUEST. I put the data on the database
table (mysql).
Then i want to send an email for a group of people with a link that
contains an 'id', like www.site.com/read.php?id=32
This 'id' was automaticly generated when inserted data on the
database(AUTOIN CREMENT). But i can't get this just added 'id'.
So, the steps are:
get data from form (OK)
put data on database (OK)
get the 'id' of this insert on database (FAIL)
send email to a group of people (OK)
put data on database (OK)
get the 'id' of this insert on database (FAIL)
send email to a group of people (OK)
Thank you for your time.
Comment