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?

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.

 

 

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.