|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Parse error problem
Ok heres the deal I am trying to convert another program to fit into my site layout, and all is going well but
except on one page i get the following error Parse error: parse error, unexpected $ in /home/qlogix/public_html/manage/signup/plan.php on line 876 the weird thing is that the actual php code ends on line 769 and that 876 is the end of the whole page. What could i have possibly messed up? |
|
#2
|
|||
|
|||
|
RE: Parse error problem
you probably missing an "$" somewhere or have one in the wrong place.
|
|
#3
|
|||
|
|||
|
RE: Parse error problem
Why would it say that one is at the end of the file when it isnt, I am confused, all i did was move stuff around so it could be put into a file that contains the layout of the site.
|
|
#4
|
|||
|
|||
|
RE: Parse error problem
parse errors are funny like that. if the code isn't formatted properly then it's not going to read lines correctly, so it may say line 769 when the error could actually be on line 18.. hard to tell.
|
|
#5
|
|||
|
|||
|
RE: Parse error problem
This is normally caused by a missing closing bracket } or parentheses ). Check to make sure they are all open and closed properly.
Why does it show the last line number? It's just the way it does it. It looks till the end of the script for the closing bracket or parentheses, can't find it and throws out an error on the last line.... |
|
#6
|
|||
|
|||
|
RE: Parse error problem
Matt you were right I had missed a bracket right before the close of the php.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Parse error problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|