hi nikhil,
open a pop with form in php file and get the data in php,
use connection file in used php file
PHP Code:
include("connectionfile.php");
if you get the error in connection please check the connectin first
PHP Code:
$conn = mysql_connect('mysql_host', 'mysql_user', 'mysql_password')
or die('Could not connect: ' . mysql_error());
echo 'Connected successfully';
mysql_select_db('my_database') or die('Could not select database');
after complete the function close it
Regards
Jitender