Hi Thanks for your advice. I must say I am a complete PHP novice , infact all programming is a bit scary and especially when its my live site....oh well its broekn now so i cannot do any more harm. I have had a look at the error log and copied a selection. Can you interpret for me ........ [Tue Sep 12 22:49:43 2006] [error] [client x.x.x.x] PHP Fatal error: (sql->query) Query failed: SQL was "SELECT * FROM pix_index WHERE catid = -1 ORDER BY timestamp DESC\n\tLIMIT -9,9" MySQL said: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-9,9' at line 2". in /home/virtual/site58/fst/var/www/html/lib/sql.php on line 28, referer: http://www.myownsite.co.uk/clients.php Could it be that the sql or php code has been upgraded by the isp or my admin before he went awol....yours still perplexed! Thanks [