shawn09 Posted June 22, 2009 Share Posted June 22, 2009 I am trying to make an anime video website, and i don't want to make several pages for each episode, is there a code somewhere on the net that i can use that will select the video code for the selected episode? like go to the Hellsing episode list, and when u click on the episode you want, the area the list is on goes blank and the video loads. I've already made 13 html pages for each episode of Hellsing, and that was tiring. I'm totally new to php. xD Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/163190-php-for-a-video-site/ Share on other sites More sharing options...
JonnoTheDev Posted June 23, 2009 Share Posted June 23, 2009 This requires a database with tables to store titles and episodes - episodes relate to titles. Video filenames are stored within the episode record. You need to learn mysql & php functions: 1. How to pass and use url parameters (the title id and episode id) 2. How to connect & select records from your database using the url parameters 3. How to validate url parameters Learn from some beginner php tutorials (use Google). There is no script to download that will acheive what you want and if there is it will be more difficult to fine tune to your needs. Your functionality spec is fairly basic and not difficult to make. Will require max 2 pages: 1. Display titles, select title, display episodes, select episode 2. Display episode video Quote Link to comment https://forums.phpfreaks.com/topic/163190-php-for-a-video-site/#findComment-861852 Share on other sites More sharing options...
MasterACE14 Posted June 23, 2009 Share Posted June 23, 2009 or you could skip the whole database part and just create an array if there isn't many videos. OR... you could store the info in a text file. Quote Link to comment https://forums.phpfreaks.com/topic/163190-php-for-a-video-site/#findComment-861994 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.