Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3216582
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:18:41+00:00 2026-05-17T15:18:41+00:00

I am using jquery datatables to display data from a mysql database. When you

  • 0

I am using jquery datatables to display data from a mysql database. When you click on a row, a jquery ui dialog box opens with a form for the data, and buttons to update or delete the entry. The code for the update button uses serialize to send the data to a PHP script, like this:

buttons:{ 
   "Update": function() { 
    $("#result p").load("update_data.php?" + $('form').serialize(), 

The problem I am having is that one of the fields in the database is for body text, and is potentially very large. This is causing the form not being submitted in some cases. I realise that I can increase the value for the Apache configuration setting LimitRequestFieldsize, but unfortunately I am not able to make changes to the Apache config due to issues outside my control. Is there some way I can fix this? Is there a better way to send data to the server than the method used above?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:18:42+00:00Added an answer on May 17, 2026 at 3:18 pm

    james,

    you might be better to $post that data, as there’s a chance that you’re actually sending it as a get request (which can be dangerous on a few security levels). the $ajax object may be a better vehicle which would then update your $(“#result p”) div on success.

    have a wander thro this :

    http://api.jquery.com/jQuery.ajax/

    the basic ‘pattern’ is:

    $.ajax({
      url: 'ajax/test.html',
      success: function(data) {
        $('.result').html(data);
        alert('Load was performed.');
      }
    });
    

    which isn’t ‘too’ far from your own intentions. (just make sure that your php function looks for $_POST variables, rather than $_GET ones if you adopt this method).

    just a thought..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the jQuery DataTables plugin to display data being returned from an AJAX
I am using a jquery modal dialog to display a table of data from
Hello i am using Jquery data table to display a table from the server
I am using DataTables to display row data, in the last column on the
I am using jquery.dataTables (1.8.1) to display a list of data, and I am
I'm using datatables along with Jquery Mobile (server Coldfusion8, MySQL 5.0.88) to display tabular
I've created a simple form and I'm using the Datatables jQuery plugin to display
i want to show my input data from DB...i'm interest for using jquery dataTable...
When adding a row dynamically using jQuery DataTables plugin , what do I do
I'm trying to select a nested table to display some tabular data using jQuery

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.