Jump to content

Your opinion on this situation..


coupe-r

Recommended Posts

On one of my pages, I have 1 form, which just a few text boxes / check boxes.  Currently, I have the form submit a new record into the DB and then refreshes the entire page to show the new result.

 

My question is, should I display all records using JQuery or PHP.  PHP refreshed the whole page, thus more queries are run per page.  Does it matter much?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/226252-your-opinion-on-this-situation/
Share on other sites

Then, imo, it's a matter of personal choice and how many queries are run with how much complexity on what size of database by how many users. still a lot of unknowns for us.

 

if i'm trying to save development time, i use php with page refreshes. but if it's 1 simple query vs. 500 complex queries, ajax makes more sense.

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.