The Arcive of vBulletin Modifications Site. |
|
newreply.php error... I need help please.. Details »»
|
|||||||||||||||||||||||||
When I reply to a thread I get this error....
Parse error: parse error in /home/xelation/public_html/forum/newreply.php on line 455 here are the lines.... if anyone wants to see the file in full just pm me. thanks for any help I can get... I pretty much have to start all over on my forum if I dont get this fixed because I have no idea what hack this error came from.. ![]() PHP Code:
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
You probably never opened a brace where you should have.
|
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
oops.... sorry I gave you the wrong code in the first place... here is the correct code....
PHP Code:
|
|
#5
|
||||
|
||||
|
Writing your code appropriately (with correct indenment etc.) will help you trace this kind of errors:
PHP Code:
|
|
#6
|
||||
|
||||
|
I like this structure more:
Code:
if (condition) {
// code
} elseif (other) {
// some more code
} else {
// last but not least
}
|
![]() |
|
|