PDA

View Full Version : Help with Postcount


Boofo
03-20-2003, 07:37 AM
Can someone please tell me how I would add the postcount=$post[postcount] to this line of code to be able to pull out the postcount?

Quote:<input type="checkbox" name="quotes[$post[postid]]">

Xenon
03-20-2003, 11:13 AM
from what i can see it's not possible

you can try it with an hidden code:
<input type="hidden" name="postcount[$post[postid]]" value="$post[postcount]">

Boofo
03-20-2003, 11:19 AM
I think we are close. It comes up with this for the postcount.

Post #Array

I am using $postcount in the quote_reply.

Xenon
03-20-2003, 11:22 AM
change $postcount into $postcount[$postid] in quotereply :)

Boofo
03-20-2003, 11:28 AM
Ok, that worked, but now it messes up my quote button (the one like Erwin has on here). What do I need to change that to? And the hidden code can go right above the quote box in the postbit, right?

Xenon
03-20-2003, 11:32 AM
the hidden thing right :)

change the quotebutton from &postcount=.... into &postcount[$post[postid]]=.. i'm not sure but i think it ca work.

Boofo
03-20-2003, 11:38 AM
You are still the Master! It works like clockwork now. Thank you very much. ;) I'm going to study what we just did here and see if I can understand it any better than I do right now. My head was spinning on this one. Thanks again, my friend. ;)

Xenon
03-20-2003, 11:41 AM
:)

you're welcome :)