Qucik MYSQL PHP Tips ( IN CLAUSE)

MYSQL 4 does not allow IN (Select ...) .
So what you do is execute a query , generate a long set of values in then execute the query .

Cavet : SQL buffer can over flow


MYSQL Supports ( Select ..... in ( .... ) )

Understanding empty fucntion in PHP

Here is a quick tip:

empty and is_blank

empty

$var = 10;

// Evaluates to true because $var is empty
if (empty($var)) {
echo
'$var is either 0, empty, or not set at all';
}
?>