sorry, some info I didn't and maybe should have included: the page it is contained within is online at: http://www.magicrw.co.uk/mrw/customers/login.php and line 18 in the code is the line that says: $myrow = mysql_fetch_array($result); cheers dave stevens