function update_ban_of_user($username,$banned) { $query="update user set banned='$banned' where username='$username'"; $result=mysql_query($query) ; echo mysql_error(); return mysql_affected_rows(); }
_________________ M. S. Rakha, Ph.D. Queen's University Canada