noobster
02-13-2008, 02:15 PM
Hi everybody,
Could someone tell me what i'm forgetting in there?
header('refresh:5;url=suivant.php?ID_info=$row_Promo_val_suiv['ID_info']');
It returns me :
Parse error: parse error, unexpected T_STRING in c:\program files\easyphp1-8\www\passage_sessions\suivants.php on line 53
My variable works because without the redirection it shows the correct value.
I guess it must be stupid :p
Thanks for any help .
Solution applied:
$urlsuivant = "promo.php?ID_promo=" .$row_promos['ID_info'];
header("refresh:5;url= $urlsuivant");
Could someone tell me what i'm forgetting in there?
header('refresh:5;url=suivant.php?ID_info=$row_Promo_val_suiv['ID_info']');
It returns me :
Parse error: parse error, unexpected T_STRING in c:\program files\easyphp1-8\www\passage_sessions\suivants.php on line 53
My variable works because without the redirection it shows the correct value.
I guess it must be stupid :p
Thanks for any help .
Solution applied:
$urlsuivant = "promo.php?ID_promo=" .$row_promos['ID_info'];
header("refresh:5;url= $urlsuivant");