haveacigar
09-22-2006, 07:03 PM
ok, im new to this and have read bits on the internet about it, but i have no idea how to do this without spending ages typing out, so heres my problem
I want a video title with a video underneath, which is loaded into a single php page. The video part is fine, but the title isnt.
There are lots of different titles, which i would like to load into the page, but it seems impossible with one variable.
$dhas = urlencode ('Death Has a Shadow');
<a href="video.php?name=video=http://www.dailymotion.com/swf/4tbjXv9wM69yR1yMb" >
<img src="nav/familyguy/dhas.gif" width="30%" border="0"/><br />
$dhas</a>
because there are different names, i would like to have a single variable so it is able to load into this page
<?php
print
'<object width=100% height=100%>
<param name="movie" value="' . $_GET['video'] .'"></param>
<embed src="'. $_GET['video'] .'" type="application/x-shockwave-flash"
width=100% height=100%></embed></object>'
?>
but obviously it cant, as id have to type out all the different variables into the url, and on the output all would be displayed. Im sure this can be done, but is still out of grasp from a noobie like me.
Cheers for any help
Ciggy
I want a video title with a video underneath, which is loaded into a single php page. The video part is fine, but the title isnt.
There are lots of different titles, which i would like to load into the page, but it seems impossible with one variable.
$dhas = urlencode ('Death Has a Shadow');
<a href="video.php?name=video=http://www.dailymotion.com/swf/4tbjXv9wM69yR1yMb" >
<img src="nav/familyguy/dhas.gif" width="30%" border="0"/><br />
$dhas</a>
because there are different names, i would like to have a single variable so it is able to load into this page
<?php
'<object width=100% height=100%>
<param name="movie" value="' . $_GET['video'] .'"></param>
<embed src="'. $_GET['video'] .'" type="application/x-shockwave-flash"
width=100% height=100%></embed></object>'
?>
but obviously it cant, as id have to type out all the different variables into the url, and on the output all would be displayed. Im sure this can be done, but is still out of grasp from a noobie like me.
Cheers for any help
Ciggy