Case ' Add '://new $sku =$_post[' sku_txt '); $salesku =$_post[' salesku_txt ']; $fnsku =$_post[' Fnsku_txt ']; $diqu =$_post[' Diqu_txt ']; $asin =$_post[' ASIN ']; $accout =$_post[' account ']; $type =$_post[' type ']; $query = mysql_query ("INSERT INTO ' sku_rule ' (' Item_code ', ' SKUs ', ' Asin ', ' Fnsku ', ' delivery_areas ', ' account ', ' type ') VALUES (' $sku ', ' $salesku ', ' $asin ', ' $fnsku ', ' $diqu ', ' $accout ', ' $type ') '); if (Mysql_affected_rows ($conn)! = 1) {echo " ";} else {echo "";} Break;case ' del '://delete $id=$_get["delivery"]; $SQL = "Delete from ' Sku_rule ' where ID in ($id)"; $result = mysql_query ($SQL); if (Mysql_affected_rows ($conn)! = 1) {echo "";} else {echo "";} Break
Delete prompt output is normal, is the new output is not normal, how to show the code
Reply to discussion (solution)
What browser is used to test
I think it is your browser problem, under my IE9 test normal
' $sku ', ' $salesku ', ' $asin ', ' $fnsku ', ' $diqu ', ' $accout ', ' $type '
All plus mysql_real_escape_string ();
such as: Mysql_real_escape_string ($sku);
Suspect that there are no escaping quotes in your variable, causing MySQL insert into to fail,
Ie8,chrome,firefox are like this, is it my computer problem??? I'll try the company tomorrow.