How to use postback in php
Linux, Apache, MySQL, PHP
2
Posts
2
Posters
0
Views
1
Watching
-
-
Hi all, I want to know down to use the postback in php.For example i am using a list box when i select an item i want to display the data in same page. As in asp.net there is auto post back just similar to that i want to use. Thanks in advance.....
form.php:
hello
<?php
if(isset($_POST['mydropdown'])) echo $_POST['mydropdown'];
?>or you can use ajax such as jquery's $.POST to do it without refreshing the page