Can you help I am getting the following error (and I am new to PHP):
Parse error: parse error, unexpected T_VARIABLE in C:\Inetpub\wwwroot\splfixtures\table.php on line 46
====Script====
<?
$strDB="Driver={mySQL};Server=default;option=16834;Database=fixtures;Uid=root;Pwd=;";
?>
<?
// Our Connection Object
// $con is of type "ADODB.Connection"
$a2p_connstr=$strDB
$a2p_uid=strstr($a2p_connstr,'uid');
$a2p_uid=substr($d,strpos($d,'=')+1,strpos($d,';')-strpos($d,'=')-1);
$a2p_pwd=strstr($a2p_connstr,'pwd');
$a2p_pwd=substr($d,strpos($d,'=')+1,strpos($d,';')-strpos($d,'=')-1);
$con=mysql_connect("localhost",$a2p_uid,$a2p_pwd);
mysql_select_db("",$con);
?>
=====end============
Line 46 is the line : $a2p_uid=strstr($a2p_connstr,'uid');
Any help would be greatly appreciated.
Thanks.