Dzetki
The Prodigal Son Returns
Well, i have a code here
which works perfectly fine on my localhost but not on my server. On the server it says that the myql_fetch_array() isn't a valid mysql result. I have the same streaming program (Xampp 1.7.1) on both my computer and the server. But this problem is only on my server, do anyone know why this is happening? Is there something wrong with my code or is it the streaming software? I appreciate all help on this problem.
PHP:
<?php
$sql = mysql_query("SELECT * FROM site_config");
while($row = mysql_fetch_array($sql)) {
echo "<a href='" .$row['link']. "'>" .$row['title']. "</a>";
}
?