Fix for user has nodes of type

  1. $count_nodes = db_result(db_query("SELECT COUNT(*) FROM {node} WHERE type = '%s' AND uid = %d", 'story', 5))

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.