Jump to content

php code can not print to screen.


plusnplus

Recommended Posts

Hi,

I have sample code like:

 

$query = "INSERT INTO tbl_a1 VALUES ('','$item_id','$item_qty')";

print "$query";

mysql_query($query);

header("location: item-list.php");

 

the query is execute, comeback to item-list.php without interruption of print the query statement.

 

Anyone know what is wrong with that situation/ code ?

Thanks for any help

Link to comment
https://forums.phpfreaks.com/topic/189261-php-code-can-not-print-to-screen/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.