View Single Post
Old 12-06-2007, 01:22 PM   #16 (permalink)
Gurnk
The Contributor
Upcoming Programmer 
 
Gurnk's Avatar
 
Join Date: Oct 2007
Location: US
Posts: 66
Thanks: 19
Gurnk is on a distinguished road
Default

PHP Code:
WHERE wp_terms.term_id 
It looks like the $number variable isn't getting passed. However adding the ''s as david suggested seems like it would have fixed it.

And you sure it worked correctly before?

EDIT: Also, are you supposed to echo functions? I thought you just wrote it out.

PHP Code:
<?php posts_by_category(); ?>
Not

PHP Code:
<?php echo posts_by_category(); ?>
Send a message via MSN to Gurnk
Gurnk is offline  
Reply With Quote