Welcome back, Micha! Where you been?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Michael Fesser" <netizen@gmx.de> wrote in message
news:c04ij298ergs780obeo0g0m1fg3k062f88@4ax.com...
> .oO(Steve)
>
>>On Fri, 20 Oct 2006 10:15:06 -0400, "Murray *ACE*"
>><forums@HAHAgreat-web-sights.com> wrote:
>>
>>>I am wanting to determine the recordID of the
person who just registered!
>>
>>To get the ID generated from the previous insert code
you can use
>>mysql_insert_id
>>[...]
>
> Yep, that's the correct way.
>
> And to give a reason for the result Murray got:
>
> mysql_query() returns just a resource ID, which is kind
of a "pointer"
> to the actual result set. Having this ID you can use the
different
> mysql_fetch_*() functions to get the rows from the
result set.
>
> Or use the PDO extension if available on your server.
>
> Mi'back on stage'cha