Page 1 of 1

I'm completely Lost.

PostPosted: 12. September 2009 09:21
by Leprechaun
Hello, I'm am new to everything, my brother has pointed me to Xampp he's heard a lot of good things about it. I currently have it downloaded, but I really don't know where to go from there. I'm trying to pull up PHP to start some code, or MySql but I really have no clue on how to get those programs up and running.

Re: I'm completely Lost.

PostPosted: 12. September 2009 10:09
by Izzy
OK, you downloaded and installed XAMPP without any problems?

You started the Apache web server and MySQL server using the XAMPP Control Panel?

You then went to http://localhost selected your language and then tried all the menu items in the left hand menu frame of the Welcome Page or you clicked on the Admin button next to Apache in the Control Panel?

You clicked on the phpMyAdmin menu item in the Welcome Page or you clicked on the Admin button next to MySQL in the Control Panel to visit the MySQL GUI?

You read the readme_en.txt file and the XAMPP for Windows Home Page and the XAMPP for Windows FAQ?

If you have done all the above, then that should get you moving forward.

Re: I'm completely Lost.

PostPosted: 12. September 2009 17:13
by dmphotography
One suggestion I'd also like to add is check out some videos on youtube, but make sure they're for the current version of XAMPP. Videos often can help you better grasp how it works and give you a quick example of where to begin.

Re: I'm completely Lost.

PostPosted: 12. September 2009 19:35
by Leprechaun
Ok I did download everything ok, opened up the control panel started Apache server, clicked admin, it brought up the localhost, I clicked on everything on the left hand side. everything worked except phpMyAdmin, it give me a MySql error.

Re: I'm completely Lost.

PostPosted: 12. September 2009 21:16
by adi06
What error it gives?

Re: I'm completely Lost.

PostPosted: 12. September 2009 21:24
by Leprechaun
ok so here's an update. I went back to the control panel started apache it's running, I then started MySql and ckicked on Admin. It worked, brouth up phpMyAdmin. Great, Where do I go from here to start writting code? I understand that this is a panel to look at all DataBases and control them like in Access.
Wow I never thought I'd feel so green about things. :).
I do however appreciate all the help.

Re: I'm completely Lost.

PostPosted: 12. September 2009 21:32
by dmphotography
You need to find a good book on PHP to start with.

Open a text editor, such as notepad and start writing. I recommend editors such as gedit and notepad++, which both can be downloaded free from http://sourceforge.net.

Once you've written your php code, save it to your htdocs folder with a php extension. Here's an example you can try.

PHP SCRIPT

Code: Select all
<?php
     phpinfo();
?>


Now save that file as phpinfo.php in C:/xampp/htdocs if that's where you installed XAMPP.

Next, with Apache running, open your browser and type http://localhost/phpinfo.php

You should see your php information.
That's how you start and the rest you have to figure out on your own.

These questions are beyond the scope of the support offered by this forum, so if you don't get answers for anything else, don't be surprised. Sometimes people will answer anyways, but don't count on it.

I'm starting a new website for coding beginners and will gradually develop it, but if you want to check it out, go to:
http://www.myownserver.info/code/

I will try and help you there, but I'm still pretty new to PHP myself, so I can only do what I know.
Enjoy!

Re: I'm completely Lost.

PostPosted: 12. September 2009 21:40
by Leprechaun
Thank you, So much. Thank you again everyone, this has started me out perfect.