Jump to content

Select data from search result and store


Go to solution Solved by 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

Edited by rx3mer
  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.