i have the following function
function redirect_to( $location = NULL ) {
if ($location != NULL) {
header("Location: {$location}");
exit;
}
then I use it to redirect with an argument
$id = $photo->id; // integer
redirect_to("photovietnam.php?id=$id");
This work fine on my local system with wamp. on the server the correct url is displayed in the head ,but it appears to lack a return
did anybody had the sam experiance ?