![]() |
Why am I getting this error...
It's only on some sites and it's driving me nuts...
The error is: Parse error: parse error, expecting `']'' in /home/heroclan/public_html/forums/vchallenge.php(172) : eval()'d code on line 303 and here is the offending line in the template: <option value="12:00" $wartimeselected[12:00]>12:00</option> and the PHP code: PHP Code:
|
My guess is it don't like the : in the array element name.
|
Quote:
But why only certain sites? All are using PHP 4.2.3... |
I have no idea.
I tried the : in php Expert editor. The colon causes a syntax error. Lose the : in the element array names. |
Quote:
|
PHP Code:
If the extra double quotes don't work try single quotes. I think it's double quotes though on keys with variables in :) - miSt |
Quote:
|
All times are GMT. The time now is 11:18 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:
|