The second one shouldn't work, but the first one definitely should. You should follow Skyld's advice and echo out the contents of that variable. (Also see my reply to Tyrial for explanation of the 'strings' and 'numbers' misconception)
Quote:
|
Originally Posted by xXziroXx
If its a string, makevar(client.cxammo)? I dunno, never had to use that one..
|
hrm no, makevar isn't what you're thinking it is. makevar takes a string and uses it's contents for the name of the variable to access.
PHP Code:
temp.kewlstring = "Wee";
temp.varname = "temp.kewlstring";
echo(makevar(temp.varname));
Would output: Wee