som i nok har opdater er jeg lidt en kage til at finde fejl i php koder
men får altså det her output på min index.php
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in Z:\\STIEN til filen\\ on line 5
min kode ser sådan her ud
<?php
include("config.php");
$result = mysql_query("SELECT * FROM news ORDER BY newsid DESC",$connect);
while($myrow = mysql_fetch_assoc($result))
{
echo "<b>Title: ";
echo $myrow['title'];
echo "</b><br>On: <i>";
echo $myrow['dtime'];
echo "</i><hr align=left width=160>";
echo $myrow['text1'];
echo "<br><a href=\\"read_more.php?newsid=$myrow[newsid]\\">Read More...</a>
|| <a href=\\"edit_news.php?newsid=$myrow[newsid]\\">Edit</a>
|| <a href=\\"delete_news.php?newsid=$myrow[newsid]\\">Delete</a><br><hr>";
}
?>