I am using MySQL and one checkbox has this name in a form;
NAME=show".$row['brokershort']
Let's say that the brokershort=aza so this name will be showaza. This works but I want it to be remembered after posting this form. The problem is that I have several brokershort so I use a loop. Another brokershort=ttr. I thought that I could solve this using;
$show="show";
$broker=$row['brokershort'];
value=$$show$broker
These lines are printing out $showaza and $showttr but doesn't fetch the variable(the value of $showttr). How do I solve this?
Thanks / Henrik
NAME=show".$row['brokershort']
Let's say that the brokershort=aza so this name will be showaza. This works but I want it to be remembered after posting this form. The problem is that I have several brokershort so I use a loop. Another brokershort=ttr. I thought that I could solve this using;
$show="show";
$broker=$row['brokershort'];
value=$$show$broker
These lines are printing out $showaza and $showttr but doesn't fetch the variable(the value of $showttr). How do I solve this?
Thanks / Henrik