|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Script Help - I can't figure out whatthe actual problem is
I have a menu page for after someone logs in. But it is giving me an error and I can't figure out why.
Quote:
I have attached the script and the files that are included or required with the exception of the db connection class which I know is working cause it does with the log-in page
__________________
CHornJr "One day I'll know what I am doing" ![]() My Blog Suanhacky Lodge #49 Rebel Squadrons |
|
#2
|
|||
|
|||
|
PHP Code:
those // are commenting out everything after them, thus commenting out the ) which closes the elseif conditon. take out the options you don't need.
__________________
![]() ![]() "Only Linux users see the end of crashes." - Pl4t0 |
|
#3
|
||||
|
||||
|
I can't believe I made such a stupid mistake and didn't realize it
I wanted it to || for "or" thank you for telling me. Now I have a new problem It now says Quote:
I tried changing on line 4 $result to $rowcheck but it gives me the error of Quote:
The only thing i can think of is for it to re-do the query again in the menu. But it looks repetative to me since it is including the check login class which has it Last edited by CHornJr : May 14th, 2003 at 01:22 AM. |
|
#4
|
|||
|
|||
|
np, we all make mistakes like that
![]() |
|
#5
|
||||
|
||||
|
Now I have a new problem It now says
quote: -------------------------------------------------------------------------------- Parse error: parse error, unexpected T_STRING in /home/virtual/site4/fst/var/www/html/test/suanhacky/class.check.php on line 7 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site4/fst/var/www/html/test/suanhacky/menu.php on line 4 Parse error: parse error, unexpected '}' in /home/virtual/site4/fst/var/www/html/test/suanhacky/class.checkend.php on line 8 -------------------------------------------------------------------------------- I tried changing on line 4 $result to $rowcheck but it gives me the error of quote: -------------------------------------------------------------------------------- Parse error: parse error, unexpected $ in /home/virtual/site4/fst/var/www/html/test/suanhacky/menu.php on line 27 -------------------------------------------------------------------------------- The only thing i can think of is for it to re-do the query again in the menu. But it looks repetative to me since it is including the check login class which has it |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Script Help - I can't figure out whatthe actual problem is |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|