|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
||||
|
||||
|
New problem on redone script
I re-did my login script and my menu script.
Now I run into an error on my class.check.php. I believe it has to do with PHP Code:
and more precisly that I am some how not calling the correct name for my variable when running the query to the database Here is the error Quote:
As always i have attached the 3 files in question. PLEASE HELP!!!!
__________________
CHornJr "One day I'll know what I am doing" ![]() My Blog Suanhacky Lodge #49 Rebel Squadrons |
|
#2
|
|||
|
|||
|
Look here:
Code:
$result=mysql_query("SELECT * FROM userinfo WHERE username='$un'")or die('Couldn't find information 'mysql_error());
// Should be:
$result=mysql_query("SELECT * FROM userinfo WHERE username='$un'")or die('Couldn\'t find information ' . mysql_error());
Start with that... |
|
#3
|
||||
|
||||
|
thanks for pointin that out to me but that hasn't fixed the errors I am getting
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > New problem on redone script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|