Hi, I could not solve this problem as stated below.
Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in C:\Program Files\EasyPHP 2.0b1\www\library\config.php on line 71
Appreciate if anyone solve it. Line 71 I have bold it. Thanks
if (!get_magic_quotes_gpc()) {
if ( (isset($POST)) && (!isset($POST['txtQty'])) && (!isset($POST['hidCartId'])) && (!isset($POST['hidProductId'])) )
{
foreach ($POST as $key => $value)
{
$POST[$key] = trim(addslashes($value));
}
}
// txtQty[]
if ( isset($POST['txtQty']))
{
$countQty = count($POST['txtQty']);
for($i = 0; $i < $countQty; $i++)
{
$valQty = $_POST['txtQty'][$i];
$_POST['txtQty'][$i] = trim(addslashes($valQty));
}
}