• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Disable tags @ array

troja

SD 2014
Joined
Jan 1, 2009
Messages
2,116
Reaction score
54
I've "$" in my array, which makes it dosen't print this variable.
PHP:
	$array = array("auto 200 listas 'Haster' | safe stronghaste<br>", 
	"auto 200 listas 'Mana' | 'mp drink' | if [$mppc <= 70] smana self<br>",
	"auto 200 mpmissinglower 3 say 'exura'<br>"
	);
        print_r($array)

I want it to print
Code:
"auto 200 listas 'Mana' | 'mp drink' | if [$mppc <= 70] smana self"
instead of
Code:
auto 200 listas 'Mana' | 'mp drink' | if [ <= 70] smana self
 
PHP:
<?php

$array = array("auto 200 listas 'Haster' | safe stronghaste<br>", 
    'auto 200 listas \'Mana\' | \'mp drink\' | if [$mppc <= 70] smana self<br>',
    'auto 200 mpmissinglower 3 say \'exura\'<br>'
    );
        print_r($array)  
		
?>
 
PHP:
"auto 200 listas 'Mana' | 'mp drink' | if [\$mppc <= 70] smana self<br>",
 
Back
Top