Jezdo
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by Jezdo
-
-
But I think you can do something like this via Ajax.
-
HELP PEOPLE!
Hi everyone. I have next BBCode:
[CODE]
$PHPCodeLayout = '<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" background="images/code.jpg">
<tr>
<td><span class="quotecodeheader style1">PHP kod: </span></td>
</tr>
<tr>
<td background="images/code.jpg">'.
highlight_string(stripslashes('$1'), true).'</td>
</tr>
</table>';
// Check for [code=php:0] text
$Text = preg_replace("/\[php\](.+?)\[\/php\]/is","$PHPCodeLayout", $Text);
[/CODE]
So, what is the problem?
[url=http://skripte.jezdo.net/tutoriali/pogledaj.php?cat=php&id=7]http://skripte.jezdo.net/tutoriali/pogledaj.php?cat=php&id=7[/url]
It doesn't highlight the sintax. :(
Please, can you help me? I searched for help everywhere but I didn't find it - you are my last hope.
Thanks!
BBCode problem
in PHP Coding Help
Posted
Hi there!
Can anybody here tell me how to make