This was your code:
<?php
$db = mysql_connect("localhost",username,password);
mysql_select_db("my_db",$db);
$result = mysql_query("SELECT screensavers FROM racsite WHERE number = 0",$db);
echo $result;
?>
and this is mine:
<?php
$db = mysql_connect("localhost",username,password);
mysql_select_db("my_db",$db);
$result = mysql_query("SELECT screensavers FROM racsite WHERE number = 0");
while ($record=mysql_fetch_assoc($result)){
echo $record["screensaver"];
}
?>
Maybe you should add single quotes before and after de zero (like this: '0'),
but I'm not sure.
Let me know if this works 🙂
bye