I removed the offending bit- Now I don't get the error message but it dosent work either. Here is the whole bit of code. It worked fine on the old server??
Thank You all for you help
<?php
$db = mysql_connect("localhost","science","mypassword");
mysql_select_db("sciencerockscom",$db);
$result = mysql_query("SELECT , jrandom0+rand() as random FROM pictures WHERE pic_name LIKE \"%Tobias%\" ORDER BY random LIMIT 1");# or die ("No Results");
$pic = mysql_fetch_row($result);
$picName = $pic["pic_name"];
$urlTitle = $pic["url_title"];
$picThumb = $pic["thumb_loc"];
$tHeight = $pic["thumb_height"];
$tWidth = $pic["thumb_width"];
//print "<p><a href=\"/pics/photo.html/$urlTitle\"><img src=\"$picThumb\" height=\"$tHeight\" width=\"$tWidth\"></a>\n";
//print "<br> <a href=\"/pics/photo.html/$urlTitle\">$picName</a></p>\n";
?>