How do you name your field names in a web page without revealing the structure of your database tables?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just name them something else in the HTML, and manually map between the database field names and the HTML field names in your PHP code.
But really, if you’re using prepared statements and performing proper authorization and error checking, it shouldn’t matter if people know the table field names.