Your trying to read an empty table. Your asking for the query basically before the info has even made into the db.
//Make your insert
$query = "INSERT INTO table .......";
// Now query the table
$page_key = 'MEMBERS'; // a key to search by
$cq = mysql_query("select * from page_listing where PAGE_KEY = '".$page_key."'");
$cqr = (mysql_fetch_array($cq));
$PAGE_NAME = stripslashes($cqr['page_name']);
// ask to see the page name
if ($PAGE_NAME !=""){
echo $PAGE_NAME
} else {
echo 'empty';
}