Hello,
I am saving user profiles in encrypted form. The encryption/decryption works fine.
My profile edit page uses a lookupwizard (i.e. combobox or dropdownbox) for 'city' field which comes from another talbe (containing list of cities).
When I goto edit page, it decrypts all data fields and shows them in the page except the dropdownbox field (i.e. city) whos value was supposed to be 'New York' without quotes. I see the following code in the profile_edit.php file near the bottom of the file.
$smarty->assign("value_City",@$data["City"]);
From debug, I found that $data["City"]) just before the above mentioned line gave a valid existing city name.
echo @$data["City"]; //this line prints 'New York' without quotes
Now to find the error, I modify the line as follows.
$smarty->assign("value_City", "New York");
This time the when I goto edit page, the dropdownbox shows the value. I dont know what is the problem. Can you help me please?
Regards