I’ve been messing about with web design for about a year now, using Dreamweaver as my weapon of choice. To be honest a lot of the websites I have developed have been based on the Dreamweaver Templates and CSS. And all of them have been html based. Any wizzy bits have been javascript and the only php mysql has been limited to pommo.org autoresponder.
About two months ago I was stuck with one of my sites, I wanted to add an element which was based on the current date, ie display several dates that were 3-35 days prior to the current date. I asked the question over at nichechoppers forum and some very helpful guys gave me the full code but in php. I explained I had no idea about php. “Just add the code to the webpage and rename the file .php” Surely it can’t be that easy! It is.
I fully intend to learn about php code (a book is on the Xmas List!), but have done OK with just copying and pasting code and playing with it for now. It has been trial and error, but I have just added a fairly complex bit of code to a finance domain I have www.creditfor.co.uk It was a free script that I simply cut and paste which is a Mortgage Calculator. I then modified it for £ instead of $ which was fairly simple, but then got a bit carried away and added some simple expressions to show the monthly interest only as well as the capital repayment. Playing about with this really has given me a better appreciation about how php works on a basic level.
I am told there is a good website out there for php tutorials and help called tizag.com but I am old school and prefer to read a book, so roll on Christmas.
Get stuck in guys and try it out.
Popularity: 56% [?]





[...] here to see the original: Don’t be afraid of PHP! Related ArticlesBookmarksTags There are no related articles. Digg it Stumble [...]