Posted by fzmaster on 12/03/06 18:52
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(AUTOINCREMENT). 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)
How can i do this?
Thank you for your time.
[Back to original message]
|