1Unreal
03-09-2009, 09:59 PM
In a plugin Im trying to do something but I want it to only effect the first post in a thread. I know in templates I can use $post[postcount] but is there a PHP equvilent?
I tried this but it didn't work...
if($this->post[postcount] == 1){
//Do something to the post...
}
Could someone point me in the right direction please :)
I tried this but it didn't work...
if($this->post[postcount] == 1){
//Do something to the post...
}
Could someone point me in the right direction please :)