Jump to content

Recommended Posts

Hi all!

 

I would like to ask a few questions that may help with my new website.

 

Firstly, (I have seen this on many websites) How could I get my php code to update my webpage with content on a remote website?

 

EG. BBC Radio1 Top 40, I have seen some websites that somehow obtain the top40 information and it posts onto their website.. (As it looks the same) So if I was to have a top 40 on my website how could I do it so when Radio1 updates their website it updates my webpage auto (Obtaining info from their server?)

 

Secondly, does anyone know any good AJAX uploaders that upload a file and insert values into a database, I have a manual uploader that does this but I tried implementing it into a AJAX but it didn't work for some reason ;/?

 

 

Last but not least, youtube has a featured box how in anyway could I make something like that? or how could I select values from my database but only show 3 or 4 values at a time?

 

Please don't think I just come here asking for help (Like some noobs do..) if you need any reference of me actually trying to find information then I'll gladly post it.

 

I just want my website to be perfect but my lack of PHP knowledge isn't helping me at the moment (I have a huge book on PHP that I'm starting to read through so yeah xD)

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/162698-a-few-questions/
Share on other sites

1)They probably get XML files from the websites with the list of Top40 artists.  The "Radio1" site could actually offer this to other websites; you could ask them or look on their site for it.  Otherwise you can always cURL their site and scrape the results.

 

2)Not enough info given.  AJAX only makes things "live" in this context.  The actions of uploading a file and inserting values into a database can be figured out independently first, then made into a nifty AJAX feature.

 

3)SQL has a statement called "LIMIT" which allows you to select only a certain number of results.

Link to comment
https://forums.phpfreaks.com/topic/162698-a-few-questions/#findComment-858622
Share on other sites

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.