php issue not recognising equals sign - confused as it works everywhere else

Status
Not open for further replies.

eggorigi

New Member
Messages
4
Reaction score
0
Points
1
for some reason the equal sign is unrecognized.. is it that php interpreter is not activated??

---------------------------------------------------

index.php begins with

<?php
include("defines.php");
....

error is
Parse error: syntax error, unexpected '=' in /home/xxxxxxxx/public_html/defines.php on line 2

defines.php line 1 and 2 follow:

<?php
$debug = FALSE;
 

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
I just checked my WordPress wp-config.php file and it contains the following code:
PHP:
$table_prefix  = 'mytableprefix_';
My website works. I'm not a programmer.
 

eggorigi

New Member
Messages
4
Reaction score
0
Points
1
thanks for your input
issue now resolved
for some reason the file was saved in a strange format (big5 ??)
I just resaved it in utf-8 format and all good again
 
Status
Not open for further replies.
Top