croz27 Posted March 24, 2008 Share Posted March 24, 2008 just trying to refresh my blog after a user has submitted a review... if ($reviewText == true) { echo "<meta http-equiv='refresh' content=0;url=videoinfo.php?videoNUM=$_GET['videoNUM']"; } Anyone know whats wrong with this? i think its how i have ended the ['videoNUM']"; as im not sure where to put the > in also.... videoNUM has been defined i think its how i structured it thats the problem but i cant work this small problem out... anyone? many thanks. Quote Link to comment Share on other sites More sharing options...
mwasif Posted March 24, 2008 Share Posted March 24, 2008 Try this echo "<meta http-equiv='refresh' content=\"0;url=videoinfo.php?videoNUM=$_GET['videoNUM']\">"; for reference http://en.wikipedia.org/wiki/Meta_refresh Quote Link to comment Share on other sites More sharing options...
croz27 Posted March 24, 2008 Author Share Posted March 24, 2008 Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING Quote Link to comment Share on other sites More sharing options...
haku Posted March 25, 2008 Share Posted March 25, 2008 echo "<meta http-equiv=\"refresh\" content=\"0;url=videoinfo.php?videoNUM={$_GET['videoNUM']}\" />"; Quote Link to comment Share on other sites More sharing options...
croz27 Posted March 25, 2008 Author Share Posted March 25, 2008 that worked a treat, thanks for your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.