Re: [PHP] Checking database for a value

2002-04-20 Thread Jason Wong
On Sunday 21 April 2002 01:10, Jason Wong wrote: > On Sunday 21 April 2002 00:55, Denis L. Menezes wrote: > > hello friends, > > > > I am looking into 4 books in front of me but somehow cannot find the > > following : > > > > I have a field userid which the user fills in at registration. Before >

Re: [PHP] Checking database for a value

2002-04-20 Thread Jason Wong
On Sunday 21 April 2002 00:55, Denis L. Menezes wrote: > hello friends, > > I am looking into 4 books in front of me but somehow cannot find the > following : > > I have a field userid which the user fills in at registration. Before > entering the data into the database, I want to check if the use

Re: [PHP] Checking database for a value

2002-04-20 Thread Miguel Cruz
On Sun, 21 Apr 2002, Denis L. Menezes wrote: > I am looking into 4 books in front of me but somehow cannot find the > following : > > I have a field userid which the user fills in at registration. Before > entering the data into the database, I want to check if the userid exists in > the database

Re: [PHP] Checking database for a value

2002-04-20 Thread Intruder
DLM> I have a field userid which the user fills in at registration. Before DLM> entering the data into the database, I want to check if the userid exists in DLM> the database. You have to SELECT that user from the table you store your users: SELECT userid, name , etc FROM table WHERE userid='$yo