I am trying to get a record count from a MySql database using the following:
$reccount = @mysql_query("select count(*) from mytable where user = 'testuser'); I try this from mysql and get the correct response ( 1 ). However, when I put this in an php script, $reccount returns a value of 'Resource id #5'. What am I doing wrong? Thanks. Mark Roberts, Roberts Computing Systems Webmaster Services $29.50/mo mailto:[EMAIL PROTECTED]