bir türlü insert işlemi gerçekleşmiyor, sorunu anlayamadım.
<?php
include ("../Connections/conn.php");
$nm = $_POST['nm'];
$gd = $_POST['gd'];
$pn = $_POST['pn'];
$mail = $_POST['mail'];
$user = $_POST['user'];
$pass = $_POST['pass'];
$stmt = mysql_query("INSERT INTO users(adi,soyadi,tel,mail,username,pass) VALUES ($nm,$gd,$pn,$mail,$user,$pass)");
if($stmt){
?>
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<strong>Success!</strong> Kayıt Başarılı...
</div>
<?php
} else{
?>
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<strong>Error!</strong> Kayıt Yapılamadı...
</div>
<?php
}
?>