Also ich hab n problem ..
Fehlermeldung:
Warning: Supplied argument is not a valid MySQL result resource in /home/www/rh14274/html/nl/prepage/pm.php on line 848
thx for help
MfG Skaschy
PHP-Code:
<?
include ("index-dateien/config.php");
$db_handle = mysql_connect ("$dbserver","$dbuser","$dbpass")
or die ("Verbindungsversuch fehlgeschlagen!");
$erfolg = mysql_select_db ("$dbname")
or die ("Angegebene Datenbank nicht vorhanden!");
$query_handle = mysql_query
("SELECT `inc_msg`,`inc_date`,`inc_to`,`inc_from`,`id` FROM `nl_pm` WHERE 1 AND `id` = $id");
$elemente = mysql_fetch_row ($query_handle);
echo "<table width=\"89%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" hight=\"89%\">
<tr>
<td bgcolor=\"#999999\"><div align=\"center\"><font color=\"#FFFFFF\" size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Mesage
von: ".$elemente[2]."</font></div></td>
</tr>
</table>
<table width=\"89%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" hight=\"89%\">
<tr>
<td width=\"21%\" bgcolor=\"#999999\"><div align=\"center\"><font color=\"#FFFFFF\" size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">gesendet am: ".$elemente[2]."</font></div></td>
<td width=\"79%\" bgcolor=\"#999999\"><font color=\"#FFFFFF\" size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">".$elemente[1]."</font></td>
</tr>
</table>\n";
mysql_close ($db_handle);
?>
// da meckert er rum
$erfolg = mysql_select_db ("$dbname")
Warning: Supplied argument is not a valid MySQL result resource in /home/www/rh14274/html/nl/prepage/pm.php on line 848
thx for help
MfG Skaschy
Kommentar