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!
I'm currently writing some custom BBCode for my site. Everything below works fine except for one thing - the single quote never gets replaced! I've tried multiple methods, from using .indexOf to remove it from the statement to the replace below. No matter what I do, it still gets through. I know it's not Javascript error, as I have a compiler and I've debugged it several times to find it working client-side.