Inherited PHP site, having trouble with mySQL
So first let me start by saying that I'm very new to PHP files in general, and to mySQL. I have some experience with basic HTML and reasonable experience with C++ so I'm confident I'll learn my way around, but for now I seem to be hitting some roadblocks. Recently I inherited a few project websites as my responsibility at work. The individual that created the sites was independently contracted, and I have no means of communicating with them on how the site was implemented.
Where I'm at:
So I've been using dreamweaver to manipulate code here and there to make some minor changes to the site, but definitely not in the way Adobe intended. I know some extra effort on my part now will result in a much easier to edit website, so I've been trying to create a local "test" server and setup the PHP and mySQL appropriately. I installed XAMPP, followed the instructions listed here: http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html; and all my servers are up and running. I believe the issue I'm having now is importing the websites existing SQL file (can't find it anywhere), which I'm hoping will allow me to edit logins and permissions... that is, if I am understanding how all this works so far. Previously I was editing login information via simply changing the code in the PHP file and that was working okay, but I couldn't seem to add new logins this way; hence my desire to get things setup correctly now.
So, now that I've created a local "test" server and connected my index.php file to the mySQL database I am seeing the following errors in design view:
Notice: Undefined index: logout in C:\xampp\htdocs\Elliott_test_server\index.php on line 15
Notice: Undefined index: username in C:\xampp\htdocs\Elliott_test_server\index.php on line 20
Notice: Undefined index: username in C:\xampp\htdocs\Elliott_test_server\index.php on line 22
Notice: Undefined index: username in C:\xampp\htdocs\Elliott_test_server\index.php on line 24
Notice: Undefined index: username in C:\xampp\htdocs\Elliott_test_server\index.php on line 25
Notice: Undefined index: username in C:\xampp\htdocs\Elliott_test_server\index.php on line 26
Notice: Undefined index: njyur6543trwefgsbdhnfjr6u54yer inC:\xampp\htdocs\Elliott_test_server\index.php on line 27
Notice: Undefined index: username in C:\xampp\htdocs\Elliott_test_server\index.php on line 31
Notice: Undefined index: username in C:\xampp\htdocs\Elliott_test_server\index.php on line 35
The bulk of these lines correspond with user logins in the PHP file. My assumption is that the PHP file is seeking the SQL dadtabase that contains these logins, but I haven't the slightest clue where it's trying to pull this information from. Any help getting this set up correctly would be great. I'm sure I could be providing more information, but I'm not entirely sure what would be helpful since I'm still new to this.
Hope to hear from you guys...
