Click here to Skip to main content
15,886,362 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: HTML + Javascript Problem!!! Pin
RichardGrimmer16-Mar-07 2:18
RichardGrimmer16-Mar-07 2:18 
QuestionPHP question Pin
john3415-Mar-07 8:48
john3415-Mar-07 8:48 
AnswerRe: PHP question Pin
Bradml15-Mar-07 10:39
Bradml15-Mar-07 10:39 
AnswerRe: PHP question Pin
hiral_shah15-Mar-07 18:33
hiral_shah15-Mar-07 18:33 
AnswerRe: PHP question Pin
john3416-Mar-07 0:15
john3416-Mar-07 0:15 
GeneralRe: PHP question Pin
hiral_shah16-Mar-07 1:38
hiral_shah16-Mar-07 1:38 
GeneralRe: PHP question Pin
hiral_shah16-Mar-07 1:45
hiral_shah16-Mar-07 1:45 
GeneralRe: PHP question Pin
john3416-Mar-07 1:58
john3416-Mar-07 1: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 14:53
Bradml16-Mar-07 14:53 
AnswerRe: PHP question Pin
hiral_shah16-Mar-07 2:15
hiral_shah16-Mar-07 2:15 
GeneralRe: PHP question Pin
john3416-Mar-07 5:12
john3416-Mar-07 5:12 
AnswerRe: PHP question Pin
JimmyRopes17-Mar-07 6:20
professionalJimmyRopes17-Mar-07 6:20 
Questionhow to sync files?? Pin
ajitscorpio15-Mar-07 6:00
ajitscorpio15-Mar-07 6:00 
QuestionDynamically setting <img> data representing an SVG image Pin
Erik Hammar15-Mar-07 5:36
Erik Hammar15-Mar-07 5:36 
AnswerRe: Dynamically setting <img> data representing an SVG image Pin
led mike15-Mar-07 6:06
led mike15-Mar-07 6:06 
Questionhelp in asp call back Pin
r_jaz15-Mar-07 5:01
r_jaz15-Mar-07 5:01 
AnswerRe: help in asp call back Pin
led mike15-Mar-07 5:30
led mike15-Mar-07 5:30 
GeneralRe: help in asp call back Pin
r_jaz15-Mar-07 5:35
r_jaz15-Mar-07 5:35 
GeneralRe: help in asp call back Pin
led mike15-Mar-07 6:03
led mike15-Mar-07 6:03 
QuestionCode-Converter needed for ASP application Pin
matthias s.15-Mar-07 4:29
matthias s.15-Mar-07 4:29 
AnswerRe: Code-Converter needed for ASP application Pin
led mike15-Mar-07 4:53
led mike15-Mar-07 4:53 
GeneralRe: Code-Converter needed for ASP application Pin
matthias s.15-Mar-07 4:59
matthias s.15-Mar-07 4:59 
GeneralRe: Code-Converter needed for ASP application Pin
led mike15-Mar-07 5:28
led mike15-Mar-07 5:28 
QuestionASP 2.0 Pin
Navneet Hegde15-Mar-07 2:01
Navneet Hegde15-Mar-07 2:01 
QuestionRe: ASP 2.0 Pin
badgrs15-Mar-07 3:20
badgrs15-Mar-07 3: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.