Hi,
when I have php codes in my post and I put it between the php tags it pulls the whole page apart. How can I solve this problem?
thanks
Try posting it between code-tags.
destroyer Wrote:Try posting it between code-tags.
Then what's the point of having php-tags? I like it it's colorful.
have you got a screenshot to show exactly whats going on?
goughy000 Wrote:have you got a screenshot to show exactly whats going on?
Here
That's right I have just tried it in my forum and it does the same. Sorry, I have no explanation for that.
i think its meant to do that.
PHP code is not supposed to be pushed onto the next line. if it did then it would stop it working when you copied and pasted it.
if you do a small php code on the page it shouldn't rip it apart:
<?php
phpinfo()
?>
EDIT:
the only way i can think of is getting some horizontal scrollbar to it if it gets past a certain size.
goughy000 Wrote:if you do a small php code on the page it shouldn't rip it apart:
<?php
phpinfo()
?>
EDIT:
the only way i can think of is getting some horizontal scrollbar to it if it gets past a certain size.
Yes, that was I'm thinking about.
Yes, that's what we have here and that's what will be in MyBB 1.4
Tikitiki Wrote:Yes, that's what we have here and that's what will be in MyBB 1.4
Cool, thanks