Hacking/ProgrammingAll hacking/programming goes here. Club Penguin hacking can be discussed in the Club Penguin Cheating Parent forum. No Club Penguin hacking is allowed here.
Re: php break; function -
Wednesday, August 27th, 2008
Or put "/n" after the echo string:
[code=PHP:1pm7d9ag]<span class="syntaxdefault"></span><span class="syntaxkeyword">echoÂ*</span><span class="syntaxstring">"Hello!/n"</span><span class="syntaxkeyword">;Â*</span><span class="syntaxdefault"></span>[/code:1pm7d9ag]
I don't know if it only works on CLI.
Same siggy, same skills, same person.
PenXZ, a name, a user and the warranty I don't care about you.
Re: php break; function -
Wednesday, August 27th, 2008
Quote:
Originally Posted by PenXZ
Or put "/n" after the echo string:
[code=PHP:cdze90j7]<span class="syntaxdefault">echoÂ*</span><span class="syntaxstring">"Hello!/n"</span><span class="syntaxkeyword">;</span><span class="syntaxdefault">Â*</span>[/code:cdze90j7]
I don't know if it only works on CLI.
I think it's backslash n, not slash n.
It should be:
[code=PHP:cdze90j7]<span class="syntaxdefault"></span><span class="syntaxkeyword">echoÂ*</span><span class="syntaxstring">"Hello!\n"Â*</span><span class="syntaxdefault"></span>[/code:cdze90j7]
Or does it work both ways?
I have left CPHQ forever.
I will VERY occaisionally be on #iamthewalrus. Don't count on it.
Re: php break; function -
Wednesday, August 27th, 2008
Quote:
Originally Posted by Plonk
Quote:
Originally Posted by PenXZ
Or put "/n" after the echo string:
[code=PHP:1bn2r977]<span class="syntaxdefault">echoÂ*</span><span class="syntaxstring">"Hello!/n"</span><span class="syntaxkeyword">;</span><span class="syntaxdefault">Â*</span>[/code:1bn2r977]
I don't know if it only works on CLI.
I think it's backslash n, not slash n.
It should be:
[code=PHP:1bn2r977]<span class="syntaxdefault">echoÂ*</span><span class="syntaxstring">"Hello!\n"</span><span class="syntaxdefault">Â*</span>[/code:1bn2r977]
Or does it work both ways?
Yeah, it's \, not /. I did it with /, and it would echo the /n.
Re: php break; function -
Wednesday, August 27th, 2008
Quote:
Originally Posted by Billybob1234
Quote:
Originally Posted by Plonk
Quote:
Originally Posted by PenXZ
Or put "/n" after the echo string:
[code=PHP:1pktnuwe]<span class="syntaxdefault">echoÂ*</span><span class="syntaxstring">"Hello!/n"</span><span class="syntaxkeyword">;</span><span class="syntaxdefault">Â*</span>[/code:1pktnuwe]
I don't know if it only works on CLI.
I think it's backslash n, not slash n.
It should be:
[code=PHP:1pktnuwe]<span class="syntaxdefault">echoÂ*</span><span class="syntaxstring">"Hello!n"</span><span class="syntaxdefault">Â*</span>[/code:1pktnuwe]
Or does it work both ways?
Yeah, it's , not /. I did it with /, and it would echo the /n.