php - Embedding a youtube video through mysql - ERROR 404 -
i'm trying store youtube links in mysql database in order view them in page,
<embed width="420" height="345" src="'<?php $video[1] ?>'" type="application/x-shockwave-flash"></embed>
the video variable imported database through mysql_fetch_row, when use tag error 404 page not found , embed tag white screen. have altered .ht configs deny allow read , don't know if there didn't .
you have:
<embed width="420" height="345" src="'<?php $video[1] ?>'" type="application/x-shockwave-flash"></embed>
you need:
<embed width="420" height="345" src="<?php echo $video[1] ?>" type="application/x-shockwave-flash"></embed>
p.s.: have lot of other errors in code.
Comments
Post a Comment