Krijg de volgende error als ik wat data op mijn site wil sorteren.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
Zo doet ie het wel...
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
PHP:
1
2
3
4
5
6
7
8
| $plaats = "Vught"; $result = mysql_query("SELECT * FROM object WHERE woonplaats=$plaats",$db); if ($myrow = mysql_fetch_array($result)) { // regel errormelding // display list if there are records to display do { |
Zo doet ie het wel...
PHP:
1
2
3
4
5
6
7
8
| $plaats = "Vught"; $result = mysql_query("SELECT * FROM object,$db); if ($myrow = mysql_fetch_array($result)) { // display list if there are records to display do { |
[ Voor 11% gewijzigd door Reignman op 27-01-2003 15:59 ]