Anybody can tell what is missing in my code?
Thank You
________________________________________________-
<?
if (!isset($searching)){
echo "No parameter";
echo "</html></body> \n";
exit;
}
$resulting = mysql_query("SELECT
FROM myDB
WHERE available LIKE '%$searching%'
//here is where I detect a possible problem -->
if (!(empty('$data2))) $data2 = 10000;
AvailableSF BETWEEN '$data1 AND '$data2}
GROUP BY ID");
if (!mysql_num_rows($resulting)) {
echo "Nothing found";
exit;
} else {
while ($results = mysql_fetch_array($resulting)) {
$ID = $results["ID"];
$Name = $results["Name"];
?>
When I added the "if empty" thing it didn“t work again
Probably I am missing something basic here
Thank U