[PHP] How to search the database?

2004-01-19 Thread Radwan Aladdin
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..


Re: [PHP] How to search the database?

2004-01-19 Thread Toby Irmer
RTFM and stop sending messages to this list with a high priority. The
questions you are asking are answered in the first 3 chapters of any good
book about php.

toby

- Original Message -
From: Radwan Aladdin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 9:13 AM
Subject: [PHP] How to search the database?


 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



Re: [PHP] How to search the database?

2004-01-19 Thread Ryan A
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



RE: [PHP] How to search the database?

2004-01-19 Thread Angelo Zanetti
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



Re: [PHP] How to search the database?

2004-01-19 Thread Radwan Aladdin
I did a search and I found my request :)

Notice : I'm sorry I didn't tell you anything about me and my brother.. So I
attached with this message our CVs.. hope you will know that I'm at 9th
class at school :)
That why I ask very much :)
Regards..
- Original Message -
From: Radwan Aladdin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 3:08 PM
Subject: Re: [PHP] How to search the database?


 I did a search and I found my request :)

 Notice : I'm sorry I didn't tell you anything about me and my brother.. So
I
 attached with this message our CVs.. hope you will know that I'm at 9th
 class at school :)
 That why I ask very much :)

 Regards and thanks alot for your powerful help..
 - Original Message -
 From: Angelo Zanetti [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Sent: Monday, January 19, 2004 2:38 PM
 Subject: RE: [PHP] How to search the database?


  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
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php