How do you name your field names in a web page without revealing the structure of your database tables?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With