I don't see you declaring $post as global... --Alex http://www.alexking.org/ On Aug 17, 2004, at 2:04 PM, Ying Zhang wrote: > > the funny thing is $post->comment_ID is an empty variable.. why is > that??