hello!
Looking at the extraction of variables in the print_page function, I just wanted to ask how you would fix this problem with something I'm working on.
User registers, by completing a profile page.
Logs in.
Clicks to modify their account profile page.
If the user leaves any of the fields EMPTY (lets say their first name for this example), when the page of errors is returned currently their "existing" first name is put back into the template field - instead of remaining EMPTY.
Within the template it current shows... <?php if ($firstname) { ?><?php print $firstname; ?><?php } ?>
If the $IN var was extracted with EXTR_OVERWRITE then it works correctly, but I understand that would be a security risk.
Any ideas?
Regan
Looking at the extraction of variables in the print_page function, I just wanted to ask how you would fix this problem with something I'm working on.
User registers, by completing a profile page.
Logs in.
Clicks to modify their account profile page.
If the user leaves any of the fields EMPTY (lets say their first name for this example), when the page of errors is returned currently their "existing" first name is put back into the template field - instead of remaining EMPTY.
Within the template it current shows... <?php if ($firstname) { ?><?php print $firstname; ?><?php } ?>
If the $IN var was extracted with EXTR_OVERWRITE then it works correctly, but I understand that would be a security risk.
Any ideas?
Regan