violinrocker Posted August 14, 2009 Share Posted August 14, 2009 how do i make php get stuff from mysql.. i have a flashplayer that uses $_GET to get the flv link i have $flv_link = $_GET["flv"] and if i enter mysite.com/video.php?flv=linkhere.flv the player will play linkhere.flv... question is... how do i make a table in mysql that will contain the flv link and using page ids to fetch it so that i onlly have to use mysite.com/video.php?pageid= and not the long ?flv=falrwjgiljrgjldsfrglkjdfgjklfdg.flv Link to comment https://forums.phpfreaks.com/topic/170218-mysql-and-php/ Share on other sites More sharing options...
tivrfoa Posted August 14, 2009 Share Posted August 14, 2009 create table videos ( page_id int primary key, video varchar(30) not null ); Link to comment https://forums.phpfreaks.com/topic/170218-mysql-and-php/#findComment-897896 Share on other sites More sharing options...
violinrocker Posted August 14, 2009 Author Share Posted August 14, 2009 what do i put in my php page's $_GET code? Link to comment https://forums.phpfreaks.com/topic/170218-mysql-and-php/#findComment-897900 Share on other sites More sharing options...
Bjom Posted August 14, 2009 Share Posted August 14, 2009 see here Link to comment https://forums.phpfreaks.com/topic/170218-mysql-and-php/#findComment-897913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.