I have that too!!
If you compare the (working) adduser-script with the (not-working) markallread-script, you find that [:red] difference:
// Grab all the boards in the database
$query = "
SELECT Bo_Keyword[:red], Bo_Last
FROM w3t_Boards
WHERE Bo_Total > 0
$groupquery
";
$boards = $dbh -> do_query($query);
[:red] $total = mysql_num_rows($boards);
Maybe that extra code is the problem?
Another problem is that inside the function there is a part of non-php HTML... that looks also unproper to me.
Last edited by caymuc; 02/14/2002 5:45 PM.