Currently I am parsing my text using the PHP5 PEAR BBCode parser. Now I am looking into my img tag and realise I don't know how to specify 3 args. This is the format of the input:
[img src="" title="" alt=""]
And what I want to get out:
<img src="" title="" alt="">
I am currently using this code but I cannot access multiple arguments-
'img'=> array('type'=>BBCODE_TYPE_NOARG,
'open_tag'=>'<img src="', 'close_tag'=>'" />',
'childs'=>''),