// JavaScript Document --Edited by Altin Bardhi 20-08-2010--
$(document).ready(function(){
//Start main
//--------------------------------------------------------------
$("#submit_btn").click(function(event) {
$.post('proces_data.php', $("#myForm").serialize(), function(data) {
//RETURN DATA RESPONSE HERE IF NEEDED
});//End post data
});//End ready function
The above completes the data transmission to the php page.
When to the php page then you can use:
if(isset($_POST['name'])){
$query="Your query";
}
|