Hi.
I get * from a database, but I want to use a "dynamic" row like:
$this_price = $row_shop[price_$size];
The $size is given by the URL... But PHP doesn't like this too much.
Do you have ideas for a solution?
Thanks alot.
Julia
Try this:
$aux="price_$size"; this_price = $row_shop[$$aux];
$$aux is used to access the value of a variable named like the value of $aux
Bye
$this_price = $row_shop["price_" . $size];