need help for ecart???
i rebuilder mine website. used the ecart. follow the {eCart 4
Getting Started Guide}   build all the page.  eg: items_Results.php page. when i finish the all page. used the fire fox .  only show me this: Parse error: syntax error, unexpected T_VARIABLE in C:\AppServ\www\yaozone\WA_eCart\BlueSkyCart_PHP.php on line 10
when i open the code : 
<?php
//WA eCart Include
require_once("WA_eCart/BlueSkyCart_PHP.php");
?><?php require_once('Connections/connbulesky.php'); ?>
<?php
$BlueSkyCart->GetContent();
?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") *******wrong on this line 10 ******
{
  $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}
i don,t know how to fix this. can any one can help?
Thanks !  I am new. please toll me how to fix it.  i need step by step to fix.  please?


