guten tag..
hab vor zwei Woche mit PHP angefangen und bin jetzt auf ein unlösbares "(für mich)" Problem gestoßen vielleicht könnt ihr mir weiterhelfen..:
also bei folgender Datenbankabfrage:
	
kommt folgender Fehler :
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/stetro32/book/guestbook_adv.php on line 84
hab dann och schon mit dem Befehl:
	
eine andere error msg rausgekriegt:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '5' at line 1
danke im vorraus..
					hab vor zwei Woche mit PHP angefangen und bin jetzt auf ein unlösbares "(für mich)" Problem gestoßen vielleicht könnt ihr mir weiterhelfen..:
also bei folgender Datenbankabfrage:
PHP Code:
	
	
$book_SQL="SELECT book_name,book_email,book_homepage,book_datetime,book_text FROM guestbook ORDER BY book_datetime LIMIT ".$pos.",".$count ;
$result=mysql_query($book_SQL);
while($book=mysql_fetch_array($result)){
...
} 
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/stetro32/book/guestbook_adv.php on line 84
hab dann och schon mit dem Befehl:
PHP Code:
	
	
if (mysql_errno()) echo mysql_error (); 
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '5' at line 1
danke im vorraus..
          
							
						
 
 
 
  hehe hab ne falsche abfrage gemacht*G* ok... an dem SQL Befehl ist nix falsch .. 
							
						
Comment