kyatric : i made a form using construct connected to MySql Database and i m using AJAX to connect to database (php code)..connection is done successfully but i don't know how to retrieve the values of construct form text fields to store in query database.
i mean we use following query in php to insert in databse.
$sql="insert into reg_tbl (uid,fname_tb,lname_tb,uname_tb,psw_tb,gen_tb,cntry_tb)
values('$num_rows','".$_POST['fname']."','".$_POST['lname']."','".$_POST['uname']."','".$_POST['pw']."','".$_POST['gen']."','".$_POST['cntry']."')";
My question is that how can i we get the values $_post[textBoxname]from construct to use its name in above query...?
please help..
thanks .