I'm having trouble unpacking data from MySQL.
Here is my code
if($result){
$sql_result = mysql_query("SELECT * FROM `application` ORDER BY `application`.`app_id`
DESC LIMIT 0 , 1");
$row = mysql_fetch_row($sql_result);
echo $row['app_id'];
}
else {
echo "ERROR";
}
This should echo the app_id but, the page is just returning blank. Any ideas? Thanks.