What output does this give you?

PHP Code:
echo mysql_num_rows($result); 
Also, is ID an integer? If so, you don't need to put quotes around it. If not, ignore me.