Page 1 of 1

Variable Names

Posted: Sun Aug 23, 2009 8:33 pm
by Monotoko
Hiya again ^.^

Was hoping someone could help me as i am stumped

Code: Select all

$pubsterupdatevar = "<?php\n";
$pubsterupdatevar.= "$pubversion = 'PubsterMax v3.07';\n";
$pubsterupdatevar.= "?>";
I want it to then save that file, the only problem is, it doesnt save the varname, because it is empty, i dont want it to save the variable, i want it to litterally save "$pubversion"

was wondering if anyone could help me?

Re: Variable Names

Posted: Sun Aug 23, 2009 8:35 pm
by Christopher

Code: Select all

$pubsterupdatevar = "<?php\n";
$pubsterupdatevar.= "\$pubversion = 'PubsterMax v3.07';\n";
$pubsterupdatevar.= "?>";