Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
php email and user check...with sql database
Old 07-04-2010, 01:09 AM php email and user check...with sql database
Novice Talker

Posts: 14
Name: Ali Arif
Trades: 0
i have a script which emails temporary download link.... the user have to enter the email.. nw i want it to check if the email entered matches with the logged in users email given when registering.... pls help.... i also wanna let u knw that i use sql to keep the user data... and i use "secure" from www.formfields.com as a user account management system... pls help...

i posted this to another forum and have discussed about this a lot.. and there u can find a lot more information.... also the script as well.. pls take a look at here... http://www.phphelp.com/forum/index.p...ic,9133.0.html
luvrockz is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-04-2010, 03:59 AM Re: php email and user check...with sql database
Junior Talker

Posts: 3
Name: DavidKeane
Trades: 0
I not sure but i have this code for select from database
Code:
$sqlChk = "SELECT * FROM database WHERE email = '$email' AND user = '$user' ";
$queryChk= $coni->query($sqlChk); 
$numChk = mysqli_num_rows($queryChk);
if($numChk==0)
{
echo "<script>alert('Error...Email');history.back();</script>";
exit();
}
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
david19712020 is offline
Reply With Quote
View Public Profile
 
Old 07-04-2010, 04:28 AM Re: php email and user check...with sql database
Novice Talker

Posts: 14
Name: Ali Arif
Trades: 0
actually im very new to php.. did u look at the link i gave on my question.... if u did ...pls can u tell me whrere exactly i need to paste the code u gave... thankzz....
luvrockz is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to php email and user check...with sql database
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.05390 seconds with 12 queries