Search found 2 matches
- Fri Jan 25, 2008 7:16 am
- Forum: PHP - Code
- Topic: Query db from form input. If match then go to page...
- Replies: 3
- Views: 281
Re: Query db from form input. If match then go to page...
Hi there, thanks so much for your reply, so now I have the first bit: $strEmail=$_POST['f2_email']; $result= mysql_query("SELECT email FROM tablename WHERE email= '$strEmail'"); That makes sense, so, as a newbie, this is effectively saying: $strEmail is the posted form field value of f2_...
- Fri Jan 25, 2008 4:47 am
- Forum: PHP - Code
- Topic: Query db from form input. If match then go to page...
- Replies: 3
- Views: 281
Query db from form input. If match then go to page...
Hello all, I really do hope that this is not too much of a newbie question. I have a MySQL database set up. Within it, I have created a table with the following fields: [id][email][name][jobtitle][company][phone][country] I want to create a short form that looksup the email address, checks if it's i...