Jump to content

php include script or an Ajax Pagination script


2DaysAway

Recommended Posts

My game is mainly all php. I use Php include scripts where needed. Lately I have been rewriting and redesigning the game for faster load times.

 

So my question is which is quicker and more efficient, the php include script  or an Ajax Pagination script?

Link to comment
Share on other sites

Ajax =P  Depending how you're using it...the nice part about it is if all you're calling is a small php file rather than a large one with lots of includes, that's simply less data that your having to get from the server.  That and it definitely has a slicker feel to it.  Kind of awkward to start off with if you've never used it, but I'd highly suggest it.

 

http://www.tizag.com/ajaxTutorial/ajax-mysql-database.php

 

Here is a great tutorial that can start you off.  The one before it is a little more basic too if you find the concept confusing at first.

 

 

Link to comment
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.