Do you want to implement Jquery inline editor in your project? so here is the simple steps to implement jquery inline editor in your project.
Create two php files inline.php and save.php, where inline.php has jquery library, jquery function and html tags to implement to inline editor. The save.php file gets the edited content and stores it in database.
Here is the script for inline.php
// jQuery functions go here…
You might have noticed that all jQuery methods, in our examples, are inside a document.ready() function,this prevents any jQuery code from running before the document is finished loading (is ready).
where $ – sign defines Jquery
edit_area – is the div class name to be selected by jquery to perform editable action.
editable(save.php) – Jquery function, which converts ordinary page into text area as well send the content of text area to save.php file using post method by default, where save.php gets the content of edited text area and saves it in database.
here is save.php script
<?php mysql_connect('localhost','root',''); mysql_select_db('moviesite'); echo $s=$_POST['value']; $query="insert into user(data) VALUES('$s')"; mysql_query($query); ?>
Download Premium Only Scripts & 80+ Demo scripts Instantly at just 1.95 USD per month + 10% discount to all Exclusive Scripts
If you want any of my script need to be customized according to your business requirement,
Please feel free to contact me [at] muni2explore[at]gmail.com
Note: But it will be charged based on your customization requirement