on the page below i get the error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mariannetrafikkskole/www/omoss.php on line 5
[URL=http://www.mariannetrafikkskole.no/omoss.php]http://www.mariannetrafikkskole.no/omoss.php
This is the code i used:
[code=php]
$resultat = mysql_query(“SELECT * FROM kontakt”);
while ($rad = mysql_fetch_array($resultat) ) {
$tekst = $rad[‘tekst’];
}
does anybody know what is wrong with:
mysql_fetch_array(); ??
is it php5 code or something…?
it works fine locally on php5 and apache 2
but the place where i get the error i think use older versions…
what can i use instead of mysql_fetch_array(); ??