hello friend, i ust need your help
when i insert in database i go to page of my choice on local alla work fine but on server it don't work when i insert a data the page just refresh,
this is the code please help me friend
("INSERT INTO commande (client, `date`, subtotal, total) VALUES (%s, %s, %s, %s)",
GetSQLValueString($_POST['client'], "text"),
GetSQLValueString($_POST['date'], "date"),
GetSQLValueString($_POST['subtotal2'], "double"),
GetSQLValueString($_POST['total'], "int"));
mysql_select_db($database_marketbase, $marketbase);
$Result1 = mysql_query($insertSQL, $marketbase) or die(mysql_error());
$insertGoTo = "myspace/order-line.php"; // here isi the problem on local work fine but on server the page where i'm just refresh
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}