Nach Reinitialisierung Fehler mit MysQl
Posted: 2004-07-09 15:34
Habe gerade eine neu instalation meines servers (1&1 Suse9) gemacht.
jetzt habe ich Probleme mit meinen Scripten die auf Datenbanken zugreifen.
Wer kennt z.B. diesen Fehler :
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 '' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/htdocs/web2/html/admin/transliste.php on line 17
Vorher lief das alles Einwandfrei.
zeile 17 währe diese hier: while($row2=mysql_fetch_array($query2))
<?php
include('../config.php');
$query2=mysql_query("SELECT * FROM transfair order by $o"); echo mysql_error();
while($row2=mysql_fetch_array($query2))
{
$id = "$row2[id]";
$sender = "$row2[sender]";
jetzt habe ich Probleme mit meinen Scripten die auf Datenbanken zugreifen.
Wer kennt z.B. diesen Fehler :
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 '' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/htdocs/web2/html/admin/transliste.php on line 17
Vorher lief das alles Einwandfrei.
zeile 17 währe diese hier: while($row2=mysql_fetch_array($query2))
<?php
include('../config.php');
$query2=mysql_query("SELECT * FROM transfair order by $o"); echo mysql_error();
while($row2=mysql_fetch_array($query2))
{
$id = "$row2[id]";
$sender = "$row2[sender]";