Hello good people of php freaks! Im really really new to this php stuff, but is seems fun and all but i'v got so many problems I dont know were to start so I guess this is a good place to start: I get this error code : ( ! ) Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\rodorow.php on line 56 Im gonna bold were the code is corrupt : here is the code:
<?php
while ($row = mysql_fetch_array($query)) {
echo "
<tr class='tablecontent'>
<td class='efternamn'>".$row['efternamn']."</td>
<td class='fornamn'>".$row['fornamn']."</td>
<td class='delavdagfm'>".$row['manfm']."</td>
<td class='delavdagem'>".$row['manem']."</td>
<td class='delavdagfm'>".$row['tisfm']."</td>
<td class='delavdagem'>".$row['tisem']."</td>
<td class='delavdagfm'>".$row['onsfm']."</td>
<td class='delavdagem'>".$row['onsem']."</td>
<td class='delavdagfm'>".$row['torfm']."</td>
<td class='delavdagem'>".$row['torem']."</td>
<td class='delavdagfm'>".$row['frefm']."</td>
<td class='delavdagem'>".$row['freem']."</td>
</tr>";}
?>
</table>
</div>
</body>
</html>
/
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks and as I said - Im super mega new to this so any help would be wonderful
best of regards! David