![]() |
Simple php help...
I'm so close to finishing my PHP project, I have a final question.
How do I use strip slashes and another one in my PHP.. Example: I have $tContent = bb($content); How would I use strip slashes on that as well as the bb All help is appreciated, thanks in advance. ^^ |
Do you mean you want to strip the slashes from the result of the bb() function?
if the result is a string you can just do this: php Code:
|
Thanks but no, I want to use both functions. BB and Stripslashes.
|
You might have to elaborate on what you're trying to do - Tony's solution will work if you want to run two functions on the same content; most functions can easily be nested since they return results as opposed to echoing them to stdout.
The other option if you'd prefer is to simply run the two functions seperately on the same content. php Code:
|
I have just start my php course so can you give me some tips.
______________ boys room décor Double Hung Windows |
| All times are GMT. The time now is 10:01 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0