How would you send long text from jquery to mysql becuase i have been trying use the .load function and for some reason i cannot get the text through.
Var new_text = "oehieifewfewiofeio";
$("#test").load("actions.php?act=save&new_text="+new_text);
Thank you,
You should not normally save a string directly to a database from JQuery, which runs on the client. You should send it to the server-side code (PHP) first and then have the server save it to the database. You can do this using an AJAX call, for example.
Update after you described your problem in more detail
There are a couple of problems with your current approach. The msot serious problem is that URLs of over 2000 characters are a bad idea and will likely break. (Source)
Secondly from the documentation of .load:
You should use a POST instead of a GET if you are changing the state of the system.