Image

Image_benbenben_ wrote in Imagephp

Ok, So I have a users database (username, first name, last name, bio, city, state, zip) and anyone can look at it, once logged into the site.
Then I got thinking it would be nice for my users to not display EVERYTHING they have stored for fear that my users wouldn’t want to give the information knowing that everyone will be able to see it.
The best way around this, I’m thinking is a “public” info database and a “private” database where users will update the private one and only select what goes in the public one.
The best method I’ve come up with was to have checkboxes next to the fields in the private database edit page, and have just the check marked fields updated to the public database.

But how do I get a page of check marked items in relation to a field like $fname and $bio to update my private database?

I’ve looked around and most help sites say I need to use an array, and a foreach but both are new pretty and vague to me for this application.