How to fix my PHP Code BB code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mutualtrust
Forum Newbie
Posts: 1
Joined: Tue Jul 13, 2010 4:01 pm

How to fix my PHP Code BB code

Post by mutualtrust »

Hi Forum,

I have no idea how to fix my code


here's the BB code
[img]\".$picture\"[/img]

Produce the following code
[img]"http://mysite/image.gif[b]"[/b][/img]


It's need it to show like this instead WITHOUT the " before and after the image code. If I delete the " my site will not load. It will show as just a blank white page only.


I need the code to show like this instead of course without all the spaces.
[img ] http://mysite/image.gif [ /img]
Post Reply