What is broken here. the $isthere works. All I am wanting to do is if the record does not exist is to link to a form to enter details about the listing and pass the variable $listing.
<?php
$isthere=$row_listingdet['Title'];
$listing=$HTTP_POST_VARS['listing']
if ($isthere >= "0") {
echo "continue";
}
{
$HTML=<<<HTML
<FORM ACTION="addlisting.php" NAME="nodetail" METHOD="post">
<INPUT TYPE="HIDDEN" NAME="listing" VALUE="$listing">
<BR><INPUT TYPE="Submit" VALUE="Add Details">
</FORM>
</B>
</BODY>
</HTML>
HTML;
echo $HTML;
}
?>