SyntaxFix
Write A Post
Hire A Developer
Questions
Here there is another approach that works for me:
if you need to redirect to another web page (user.php) and includes a PHP variable ($user[0]):
user.php
$user[0]
header('Location:./user.php?u_id='.$user[0]);
or
header("Location:./user.php?u_id=$user[0]");