javascript - saving content from textarea in php -


i have textarea in php page , and want save on click of save button. have insert queries in php page. how shall save content without page refresh. immediate thought ajax. safe transfer content through javascript or should use session variables carry whole text content me in it.

you can use ajax. make sure use post request text may long sent get (that is, appended url in query string).

sessions not valid option. sessions files exist on server. in order put contents of textarea session, first have server, it's not solution problem of getting text server.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -