uyeol.php
icin ise,
<?
mysql_connect("localhost", "user", "pass");
mysql_select_db("dbadi");
if(!$isim || !$soyad || !$okul || !$mail || !$telefon || !$mesaj){
header("Location: yok.php");
}
else {
$ekle = mysql_query("insert into tablo values (NULL, '$isim', '$soyad', '$mail', 'telefon', '$mesaj')");
}?>kullanabilirsin.