$variable = "field1";
$$variable;
I write this because I want to get $field1, and the word "field1" is get from the database. ($field1 is the variable pass from the previous form)
but it seems to be not work....
what should I do?
Are you sure "$field1" has a value? If it's being passed from a form, it may not if you haven't taken PHP's behaviour regarding form-submitted variables into account.