Jump to content

Select data from search result and store


rx3mer

Recommended Posts

Hi guys,

 

This could be very simple but I am not sure what to search for and how it works.

 

I have a Youtube Search function that brings a lot of videos with different values.

For example [videoid] could be equal = CGyAaR2aWcA. [videoname] could be equal "the walking dead" and so on...

 

Example html result:

<li> 
2 States - Official Trailer - Arjun Kapoor, Alia Bhatt (CGyAaR2aWcA<a href=http://www.youtube.com/watch?v=CGyAaR2aWcA?version=3&enablejsapi=1 target=_blank> Watch This Video</a>
<img src=http://img.youtube.com/vi/CGyAaR2aWcA/0.jpg />)                  
</li>

<li> 
WHAT IS WRONG WITH YOU?! - The Walking Dead - Season 2 - Episode 2 - Part 2 (dsXhuOwPTTc<a href=http://www.youtube.com/watch?v=dsXhuOwPTTc?version=3&enablejsapi=1 target=_blank> Watch This Video</a>
 <img src=http://img.youtube.com/vi/dsXhuOwPTTc/0.jpg /><input type='submit' value='Add Song' name='create' />)                  
</li>

I want to be able to select one of the lists and insert the data into MYSQL DB. I already have a form with inputs that I have tested and works.

 

What is the method of doing that kind of selections?

 

 

Rad

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.