form action = this page

<?php if(isset($_POST['add'])){ // ....... //start with this snippet when form action = thispage.php // not that 'add' is input type = button and name = add //........ } ?>
start with this line when form action brings you here on clicking submit button whose name is 'add'.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.