here is whats interesting: the page was relocated and the query was also executed:
Code: Select all
header("Location: somewhere.php");
mysql_query("mysql syntax");Moderator: General Moderators
Code: Select all
header("Location: somewhere.php");
mysql_query("mysql syntax");Code: Select all
<?php
header('Location ... ');
// Here we are doing something
file_put_contents(...);
mysql_query()...
// Now we are being redirected
?>