We’re
actually getting the inner html of the div with the id of edit and
appending a new hidden text input to the form and the submitting the
form so now the post array will have a new variable with the name of
edit.
Showing the result
you can use php echo to export the post variable
1
2
3
4
5
<?php
if(isset($_POST['edit'])){
echo$_POST['edit'];
}
?>
You’re done. Now little tweak with CSS will give you a nice output. See you in next post.
0 comments :