<?php header('Location: viewPollResults.php?pollId= echo $pollId'); ?>
If it is possible, i'm having trouble appending the echo statement can anyone help please?
| SitePoint Sponsor |
<?php header('Location: viewPollResults.php?pollId= echo $pollId'); ?>
If it is possible, i'm having trouble appending the echo statement can anyone help please?


You need to concatenate, instead of trying to echo/print out the value
Code:<?php header('Location: viewPollResults.php?pollId=' . $pollId); ?>
Bookmarks