<?php
$host = 'localhost';
$user = 'teo_sms';
$pass = 'sms';
$db = 'teo_sms';
mysql_connect( $host, $user, $pass );
mysql_select_db($db);
extract($_REQUEST);
$sql=mysql_query("select * tel,from tabloisminizi yazın ORDER by id DESC LIMIT 0,1");
$sorgu=mysql_query($sql)...