$_GET
is not working when passing variables from one page to another page.
Title - ID - Embed are all showing in the URL on page two so I don't think the problem is on page 1 being that is appears to be passing the variables.
The $_GET['embed']
is working on page 2 but not the $_GET['id']
and $_GET['title']
Page 1:
$title = $row['title'];;
$id = $row['id'];;
$linkurl = $row['embed'];;
$src1 = $row['thumbs1'];;
echo '<a href="show/video_show.php?title='.$title.'&id='.$id.'&embed='.$linkurl.'"><img height="160" width="260" style="border:none;" src="'. $src1 .'" /></a>';
Page 2:
Title: <? echo $_GET['title']; ?>
<iframe src="<?php echo $_GET['embed'];?>"allowfullscreen="allowfullscreen" scrolling="no" width="770" height="440"></iframe>
<p>Video Number: <? echo $_GET['id'];?>
<!-- embed is working -->