My form dose not submit the data inserted into my database but it just displays an empty page with no error message and the echo is not executed.
Here is the php code
<?php
if(isset($_POST['submit']))
{
$username="root";
$password="";
$db_host="localhost";
$database="logintrial";
$con = mysql_connect($db_host,$username,$password);
mysql_select_db($database,$con);
$sql="INSERT INTO abonne (N_A,NUMBER,TYP,NO_FTX,ADDRESS,D_R,D_E,lengthone,
P,lengthtwo,GARDY,A,B,C_F,POLES)
VALUES
('$_POST[N_A]','$_POST[NUMBER]','$_POST[TYP]','$_POST[NO_FTX]','$_POST[ADDRESS]',"
. "'$_POST[D_R]','$_POST[D_E]','$_POST[lengthone]','$_POST[P]''$_POST[lengthtwo]',"
. "'$_POST[GARDY]','$_POST[A]''$_POST[B]',$_POST[C_F]','$_POST[POLES]')";
$a=mysql_query($sql);
if (!$a)
{
echo mysql_error();
}
else
{
echo "1 record added";
}
}