Hello,
I have this line of PHP:
I want the stuff in curly brackets ie: $item to be parsed by PHP before the rest of the line so that the value of $item makes up other variable names.
I know that the curly brackets I have used above doesn;t work but it's the clearest way of me explaining it. Any one have any ideas how to make PHP parse certain variables before others?
Thanks
Regards,
Neil
I have this line of PHP:
PHP:
$formvalue_{$item}id = ${$item}_id;
I want the stuff in curly brackets ie: $item to be parsed by PHP before the rest of the line so that the value of $item makes up other variable names.
I know that the curly brackets I have used above doesn;t work but it's the clearest way of me explaining it. Any one have any ideas how to make PHP parse certain variables before others?
Thanks
Regards,
Neil