Link to home
Start Free TrialLog in
Avatar of willwatters
willwatters

asked on

Passing parameters using header location format

I tried passing in a parameter using the header format but don't know how, can you fix this code please:

header('Location: Customer_Mare_Progress_Status.php')

?CustomerNo.=<?print $CustomerNo?>

Avatar of VGR
VGR

header("Location: Customer_Mare_Progress_Status.php?CustomerNo=$CustomerNo");

just a problem of single vs double quotes...
ASKER CERTIFIED SOLUTION
Avatar of jausions
jausions
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
well, did I "fix the code" or not ?
was my answer "thorough" enough or not ?