Forum Moderators: coopster
$query_Show = sprintf("SELECT * FROM Rooms WHERE Room = '%s'", $colname_Show);
Currently, the URL send the data, so [myhomeurl.com...] would pull up the info for room 72 only.
BUT, I also have a column named "Poolside". How would I change the line above so that it would only show the room if it were poolside, using this URL as a filter:
[myhomeurl.com...]
if < 1 then display your "No results found"
else
carry on with processing the rows
if ($_POST['ReceiptID'] == NULL) {
echo "ERROR! Your information will not be saved because you've entered an invalid Receipt ID. Please press 'BACK' and try again.";
}
But this doesn't work. Where should I place it, or change it?