How I solve this error.
"This page isn’t working sample.com is currently unable to handle this request. HTTP ERROR 500
this is my file
<?php
$uname=$_GET['uname'];
$pwd=$_GET['pwd'];
$num=$_GET['num'];
$email=$_GET['email'];
$re_pwd=$_GET['re_pwd'];
echo $uname;
$conn=mysql_connect("localhost","test_prgram","test123","test_program");
if($conn==true)
{
echo "connection successfully";
$query=mysqli_query("insert into user values ( ".$uname.",".$num.",".$email.",".$pwd",".$re_pwd.")");
mysqli_execute($query);
}
else
{
echo "error";
}
$mysql_close();
?>