Member Avatar for pinel

I'm newish to php. I'm trying to open a video in a new window. There is one page to play the video but I have 17 different videos. I find it pointless having as many pages with the same code except for the video link. The videos will be on photobucket so they are basic flash

Hi,

1. create a table in mysql which will store the urls to the video.
2. Run a while loop to display those urls to links with a display button.
3. when a link is clicked send a $_POST to a processing form
4. in that processing form extract the post value, match it to the url in the database, convert to a variable, then display it wherever it needs to be in the <embed> tags.

Hope that helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.