I'm trying to connect to my database and getting these two syntax errors :
[21-Apr-2015 07:49:38] PHP Parse error: syntax error, unexpected T_VARIABLE in /home/half/public_html/vsadmin/inc/incfunctions.php on line 2:
<?php
$incfunctionsdefined=TRUE;
@set_magic_quotes_runtime(0);
$magicq = (get_magic_quotes_gpc()==1);
if(@$emailencoding=='') $emailencoding='iso-8859-1';
if(@$adminencoding=='') $adminencoding='iso-8859-1';
if(@$SESSION["languageid"] != "") $languageid=$SESSION["languageid"];
[21-Apr-2015 07:49:53] PHP Parse error: syntax error, unexpected T_VARIABLE in /home/half/public_html/createdb.php on line 1 :
<?php
$sVersion="PHP v5.2.5";
?><html>
<head>
<title>Create Ecommerce Plus mySQL database version <?php print $sVersion?></title>
<STYLE type="text/css">
<!--
p { font: 10pt Verdana, Arial, Helvetica, sans-serif}
TD { font: 10pt Verdana, Arial, Helvetica, sans-serif}
BODY { font: 10pt Verdana, Arial, Helvetica, sans-serif}
-->
</STYLE>
</head>
<body>
<?php include "vsadmin/db_conn_open.php" ?>
<?php
Any help?? I have used this script in the past with no problems.