![]() |
a question can i input html in a preg_replace
PHP Code:
so can you input html into that? |
You can do almost anything you want with regular expressions, except make cappucino.
-m |
Yeah? Regex is all about patterns. the idea that you are parsing html is irrelevant.
|
so i could do this <br><p>$item->description</p>); ? inside the preg_.
|
Sure, if that is what your trying to match. Im not to sure where your headed with this, because that statement doesn't really make sense to me.
But you could match "<br><p>$item->description</p>);" with regex if you wanted. |
thank you.
i fixed it already :P |
I can honestly say I have no idea what just happened in this thread. lol. You have officially confused me to no end and off the edge of the earth :D
|
i asked a question and you answered on a point and i tested and i fixed
not that hard to understand. |
| All times are GMT. The time now is 07:02 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0