hi I was looking at a php code from social engine and they have something like this:
header("Location:user_event.php?event_id={$event_id}&justadded=1")
why id it not
header("Location:user_event.php?event_id=$event_id&justadded=1")
or
header("Location:user_event.php?event_id=".$event_id."&justadded=1")
because the value of $event_id is correct but when the page redirects I go to:
user_event.php?event_id=&justadded=1
now I'm sure I did something to mess the value of {$event_id} but I don't even know what it means. does it have to do with smarty?