I am trying to do a simple fetch of the lastest add name. I have the 
following code :
$query = "SELECT name FROM name ORDER BY name DESC LIMIT 1";
$latename = mysql_query($query) or die("Select Failed!");
$latename = mysql_fetch_array($latename);
echo "<b>Lastest Name Added:</b>  $latename    "

I know I am doing something wrong as being new to php it get be confused.
It returns : Lastest Name Added: Array

Could someone please point out where i'm going wrong

Thank you

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to