Thanks for the quick reply, The variables for connection is correct. I have added this code to my site and I get the error
Parse error: parse error, expecting `'(''
on this line
while $row=mysql_fetch_array($result)
Have I done something wrong?? Thanks again