Hi new to php and I'm trying to learn how to set up connections to the database on my remote server. I'm using dreamweaver to create recordsets, then dispaying the results. Dreamweaver creates a connection file(I named student.php) automatically based on your database connections and login info. However, this poses a problem when I upload my files to a remote server. Of course the connection file has the local db login info, NOT the remote db server info.
I created a copy of the student.php and changed the db information and saved this file to my remote server, but it seems to not work for me quite right. This was how our instructor suggested and demoed succesfully to us.
My question is how is this normally handled by experienced php coders? I would love to find a better way thabn having to manage two files of the same name while keeping them separate on local and remote servers respectively. Thanks for any help and please remember, I'm very new to php...lol so no suggestions TOOOO hard...lol Thanks!