php header to redirect code example
Example 1: php header redirect
< ?php header("Location: http://www.redirect.to.url.com/"); ?>
Example 2: php header redirect with parameters
$id_car = '2';
Header("Location: formUpdateCar.php?car=".$id_car);
< ?php header("Location: http://www.redirect.to.url.com/"); ?>
$id_car = '2';
Header("Location: formUpdateCar.php?car=".$id_car);