I'm trying to make an Emoticon table for my forums but I can't seem to figure out how to do it. I have an array with the keys being the emoticon code, and then the filename for the actual value.
ex.
I want to be able to make a table that shows all these emoticons in a couple of rows. I can get it to make one row using a foreach/as function, but I don't know how to make it make a new row every five or so emoticons. Is there a way to do this?
ex.
| Code: |
|
$emoticonarray = array( ':^_^:' => '^_^.gif', ':anywayz:' => 'anywayz.gif', ':aww:' => 'aww.gif', ':blush:' => 'blush.gif', ':eek:' => 'eek.gif') |
I want to be able to make a table that shows all these emoticons in a couple of rows. I can get it to make one row using a foreach/as function, but I don't know how to make it make a new row every five or so emoticons. Is there a way to do this?
