I am using this piece of code and it is not working as expected at all :mad:
<?
echo("point one ".$where."<br>");
if(!$where="") $where.=", && ";
echo("point two ".$where."<br>");
?>
The ouput is
point one new_products.product_type='5'
point two , &&
Surely it should be adding the two strings end to end?
What is going on?
Rob
SORRY :o :o just seen what an idiot I've been. = instead of == in condition