![]() |
Unexpected $end
Ok, today I was experimenting on adding stuff to the admin CP, and I made a simple script to see the results and if it'd work. Well, it didn't. I keep getting "Parse error: syntax error, unexpected $end in C:\wamp\www\vbe\admincp\ban_user.php on line 19". Here is the script (named "ban_user.php"):
Code:
<?php Thanks in advance. |
The code run by the conditional should be surrounded by curley braces. (Not necessary but strongly recommended)
if (condition) { code } Other than that, your code looks like it should work (regardless of how you're using " in unnecessary spots) |
Still, it doesn't work. I'll try making the HTML with the functions VB provides.
Though, where are the " unnecessary? |
All times are GMT. The time now is 12:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|