Click here to Skip to main content
15,844,152 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: HTML + Javascript Problem!!! Pin
RichardGrimmer16-Mar-07 3:18
RichardGrimmer16-Mar-07 3:18 
QuestionPHP question Pin
john3415-Mar-07 9:48
john3415-Mar-07 9:48 
AnswerRe: PHP question Pin
Bradml15-Mar-07 11:39
Bradml15-Mar-07 11:39 
AnswerRe: PHP question Pin
hiral_shah15-Mar-07 19:33
hiral_shah15-Mar-07 19:33 
AnswerRe: PHP question Pin
john3416-Mar-07 1:15
john3416-Mar-07 1:15 
GeneralRe: PHP question Pin
hiral_shah16-Mar-07 2:38
hiral_shah16-Mar-07 2:38 
GeneralRe: PHP question Pin
hiral_shah16-Mar-07 2:45
hiral_shah16-Mar-07 2:45 
GeneralRe: PHP question Pin
john3416-Mar-07 2:58
john3416-Mar-07 2:58 
Hi,

Thanks for the responce !!!

I did the bellow code because i wasnt sure what it would return if nothing was found !!!

if(($rec['userid']==$userid)&&($rec['password']==$password)){

However on testing $rec['userid'] and $rec['password'] do appear to be blank but the below code works correctly. so i am confused as to how it is bringing the result of the SQL back correctly but $rec seems to be empty

if($rec=mysql_fetch_array(mysql_query("SELECT * FROM plus_signup WHERE userid='$userid' AND password = '$password'")))
{
}
else {
Wrong Login. Use your correct Userid and Password and Try
";}

My userid and password are currently just varchars in my database, I mannually entered them.

I am note sure if my explanation is clear. Please tell me if it isnt !

Thanks LOTS !! Smile | :) !!
John

GeneralRe: PHP question Pin
Bradml16-Mar-07 15:53
Bradml16-Mar-07 15:53 
AnswerRe: PHP question Pin
hiral_shah16-Mar-07 3:15
hiral_shah16-Mar-07 3:15 
GeneralRe: PHP question Pin
john3416-Mar-07 6:12
john3416-Mar-07 6:12 
AnswerRe: PHP question Pin
JimmyRopes17-Mar-07 7:20
professionalJimmyRopes17-Mar-07 7:20 
Questionhow to sync files?? Pin
ajitscorpio15-Mar-07 7:00
ajitscorpio15-Mar-07 7:00 
QuestionDynamically setting <img> data representing an SVG image Pin
Erik Hammar15-Mar-07 6:36
Erik Hammar15-Mar-07 6:36 
AnswerRe: Dynamically setting <img> data representing an SVG image Pin
led mike15-Mar-07 7:06
led mike15-Mar-07 7:06 
Questionhelp in asp call back Pin
r_jaz15-Mar-07 6:01
r_jaz15-Mar-07 6:01 
AnswerRe: help in asp call back Pin
led mike15-Mar-07 6:30
led mike15-Mar-07 6:30 
GeneralRe: help in asp call back Pin
r_jaz15-Mar-07 6:35
r_jaz15-Mar-07 6:35 
GeneralRe: help in asp call back Pin
led mike15-Mar-07 7:03
led mike15-Mar-07 7:03 
QuestionCode-Converter needed for ASP application Pin
matthias s.15-Mar-07 5:29
matthias s.15-Mar-07 5:29 
AnswerRe: Code-Converter needed for ASP application Pin
led mike15-Mar-07 5:53
led mike15-Mar-07 5:53 
GeneralRe: Code-Converter needed for ASP application Pin
matthias s.15-Mar-07 5:59
matthias s.15-Mar-07 5:59 
GeneralRe: Code-Converter needed for ASP application Pin
led mike15-Mar-07 6:28
led mike15-Mar-07 6:28 
QuestionASP 2.0 Pin
Navneet Hegde15-Mar-07 3:01
Navneet Hegde15-Mar-07 3:01 
QuestionRe: ASP 2.0 Pin
badgrs15-Mar-07 4:20
badgrs15-Mar-07 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.