How do I create a php page with employee data from a database and when I scroll down it loads more data?
|
05-01-2013, 08:39 AM
Post: #3
|
|||
|
|||
I'm not sure what Facebook is using but if you want to do it in PHP you'll need to use javascript as well.
Use php to query the list of employees from the database then pass it to javascript to handle the page. Javascript can handle updating pages as you scroll php by its self cannot. Do a google search for something like "javascript load page onscroll" or Ajax load page onscroll. actually I may have found 1 check this out (I didn't watch the video) http://www.developphp.com/view.php?tid=1265 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How do I create a php page with employee data from a database and when I scroll down it loads more data? - akshay - 05-01-2013, 08:11 AM
[] - bitus mama - 05-01-2013, 08:25 AM
[] - rhino - 05-01-2013 08:39 AM
|
User(s) browsing this thread: 1 Guest(s)