Welcome Guest, Not a member yet? Register   Sign In
There's a dollar(sign) in variable name
#3

PHP Code:
$temp_var 'Price_IN_U$';

$comp-prod->$temp_var

this one works! hooray! haha i already come up with this idea but i also include the
comp-prod that makes my code echo it.

thanks for this! new learning.
Reply


Messages In This Thread
RE: There's a dollar(sign) in variable name - by rhyszz - 09-10-2015, 12:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB