I'm creating a form where the data will be sent to a database at my server. My question is about the line of code below:
// Connect to MySQL
mysql_connect("my_server", "my_username", "my_password")
My concern is about the line that asks me to enter my server, username and password.
Can't everyone see that? Am I giving everyone access to my server?
Forgive me for my ignorance.
PHP is a Server-Side language.
anything inside your <?php ?> tags will not appear in, or even be sent to, the user's browser (except for the content of output commands, obviously, like echo and print)