The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Is PHP Worth It?

I already know html and css and have been really successful with it.
I think the next step for me to take is creating databases for all of the products of my customers.
What I'm wondering is what are all of the benefits I could get from PHP and is it worth learning?

Now up and running!Enzyme Online | Professional and Affordable Web Design

I would definetly say php is worth learning. Its relatively easy to learn and the uses are endless. The best part of php I think is making a custom CMS for a website. Create an admin backend and then you have the client do all the editing. also once data is in the database you cann do cool stuff with it ie.. display when and how you want, create custom rss feeds, so on and so on.

1. It's relatively easy to learn
2. Codes are short, you don't need to writes pages as in Java, hence time saving for you
3. You have a lot of people doing this, hence, in case of bug, you will get a relatively much quicker help
4. It's free and you don't need any investment, apart from buying a few books
5. Almost all servers support php code, hence, when you will look for a host, you won't need to break your hear to find a suitable host

Php is great for displaying information from databases and creating dynamic pages.
For instance on my gallery http://www.rubble.info/gallery/gallery.php I have two pages ( could all be on one and I will sort that one day ). I also have an admin section that uploads the images resizing watermarking etc.
Anyway I am getting sidetracked - the code reads all the images from a directory and creates all the pages links etc. If I was doing this with plain html I would have to update the index page with the new thumbnail, create a new page with the image and create a link to the new image page every time I added a new image. If I was adding 10 or even more images think how long it would take !

One place I recommend is http://www.pixel2life.com, it has many tutorials on how to do different things and by looking at the code in these tutorials you can teach yourself how things work and what they do. Also check out http://www.tizag.com/phpT/ to start learning (basics of PHP).

One thing I used to do was download some code; study it and try some changes. If it worked that was good if it didn't try something else.

You can either setup a folder on your server or download something like XAMPP and install it on your PC to try things out.
XAMPP has loads of versions and you should be able to find one that is similar to your server.

learn how to use search engine friendly urls and its the same to the crawlers.

Crawlers don't care if you use ampersands and equal-signs to separate words in your URL, or if you use forward-slashes. So-called search engine friendly URL's are no more nor less friendly to search engines, than other URLs. They may be friendlier to humans, though.

Crawlers don't care if you use ampersands and equal-signs to separate words in your URL, or if you use forward-slashes. So-called search engine friendly URL's are no more nor less friendly to search engines, than other URLs. They may be friendlier to humans, though.

Crawlers cast a more critical eye to URLs with a lot of parameters, particularly if a lot are numeric. They don't want to get caught in an infinite loop of indexing the same content where the parameters may not change the actual content.

Numeric category and product IDs also miss an opportunity to use keywords in the URL. Nobody searches for "category 28 product 162" (though I realise you can use words with traditional urls)

Crawlers don't care if you use ampersands and equal-signs to separate words in your URL, or if you use forward-slashes. So-called search engine friendly URL's are no more nor less friendly to search engines, than other URLs. They may be friendlier to humans, though.

if the link's more friendly to humans, then it's more friendly to search engines, just indirectly.
humans are more likely to click a link that comes up in the search engine that doesn't have all of those funky characters
that site would be clicked more and it would go up in search engines

Now up and running!Enzyme Online | Professional and Affordable Web Design

2. Codes are short, you don't need to writes pages as in Java, hence time saving for you

I wonder where you got this. Totally false from my view. The amount of work it takes for any language is about the same, or even shorter depending on what you're doing, unless you're programming in C++. Have you ever used java before to make such a claim?

3. You have a lot of people doing this, hence, in case of bug, you will get a relatively much quicker help

a lot of people use a lot of other languages too.

Anyway I think it depends on what you want to do. PHP is an excellent language to begin learning with.

In today's world of web development, knowlege of a server side language like PHP is almost a necessity. PHP is one of the most frequently used web programming languages. It allows you the create dynamic (changing) sites capable of responding to users. I'd definately suggest learning PHP.