gr8gatzb Posted March 23, 2006 Share Posted March 23, 2006 i am really new to all this, so try and be gentle. i have two questions:1) I am having users at my site submit a php form in parts, but after each part, the information is getting stored in the mysql database. on the last page, i want to have a confirmation page that lists only the fields that do not have empty values in a table. so, on the html table side, i set up a foreach loop of an array that prints out the table cells... however, i'm not quite clear on how to do the query for mysql. not only am i not sure how to do the query, but i am also unclear on how i can get the label along with it (so, what i mean is, have it know to print "first name" in the left cell and "[the first name value]" in the right cell. although, i would assume the [first name value] is simply the value of that array cell).2) the php on the web server I am using is php 4.1 i believe. for storing and calling passwords, i have $_POST['password'] in the query string, which I have read is not great because of sql-injects. using quote_smart() was suggested, but my php version doesnt support that. how else can i securely store/access the password data?thanks!marc Quote Link to comment https://forums.phpfreaks.com/topic/5603-newbie-questions/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.