Oh, so you did see what I was talking about then....
I spent about an hour trying to figure it out, I thought PHP was modifying my code for some reason and it was really starting to freak me out...
Type: Posts; User: jverkoey
Oh, so you did see what I was talking about then....
I spent about an hour trying to figure it out, I thought PHP was modifying my code for some reason and it was really starting to freak me out...
nonono
Do that same code, but but some text before and after it like so:
<?php
echo 'blah<span style="color: red;">orblah';
OK....now this is just plain weird, every time I try and even do:
print("<span style=\"test\">");
It reformats the resulting html to be:
<span style="">
Another question....Now I'm trying to use a different tag and it's acting really...err....weird....
If I use this code:
$text =...
=blue]
-edit-
Ahah, that did work though, thanks salem
I'm stumped working with regular expressions in php...I'm trying to convert the following:
[color=blue]
to:
<font color="blue">
and I've tried doing this in php: