PHP beginner |
|
Hallo,
Ik heb deze code:
".mysql_result(mysql_query("SELECT count(1) FROM cms_bestellingen WHERE paginastatus!='aanbieding'"), 0)."
".mysql_result(mysql_query("SELECT count(1) FROM cms_bestellingen WHERE paginastatus !='aanbieding'"), 0)."
en krijg deze fout:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/shamrock/public_html/paginas/beheer/index.php on line 71
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/shamrock/public_html/paginas/beheer/index.php on line 71
Hoe kan ik in een where iets selecteren wat NIET ... is?
|