you should try to figure parts of it out before just asking. By us just giving you the answer means that you aren't going to learn anything. TRy and battle but when you get it working you will feel as if you've accomplished something rather than cut and paste someone else's code!!
-----Original Message----- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 12:27 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] How to search the database? Hmmm, your problem sounds like a serious one but something everyone must know... I have found this site to be particularly useful http://php.net,as for some reason these guys seem to know what they are talking about..... after going through the online manual (or downloading it...),...go to this site http://google.com and search for "RTFM" for a total solution to these kinds of problems. Cheers, -Ryan > Hello.. > > I made my Login and registration pages and everything is okay.. but what I want now is to know how to make this : > > A PHP page for the administrator.. that has a TextBox (UserName).. he will enter a user name in it.. after that he will press the button (Activate).. Now by pressing that button the PHP page will search the database (A specified table) for that username, if it is exist then search his row for a field named (Activation) and then update its value into "Activated".. but if this user is not exist in that table.. a message will apear for the administrator.. > > Waiting your replies guys ;-) > > Thanks in advance... > > Cheers.. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -------------------------------------------------------------------- Disclaimer This e-mail transmission contains confidential information, which is the property of the sender. The information in this e-mail or attachments thereto is intended for the attention and use only of the addressee. Should you have received this e-mail in error, please delete and destroy it and any attachments thereto immediately. Under no circumstances will the Cape Technikon or the sender of this e-mail be liable to any party for any direct, indirect, special or other consequential damages for any use of this e-mail. For the detailed e-mail disclaimer please refer to http://www.ctech.ac.za/polic or call +27 (0)21 460 3911 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php