Solved

PHP for starters

Posted on 2003-11-21
4
345 Views
Last Modified: 2009-12-16
I made a shopping cart application in ASP. To learn PHP I thought about porting this app form ASP-to-PHP.

However I am totally a newbie to PHP. I have successfully installed PHP and access the test.php page (<?php echo phpinfo() ?>)

What I want to know is how to start from a beginers state to an advance state. Like I want my PHP app to be able to talk to databases (preferred MS Access currently).

Any good sites, books or anything related will be helpfull..

Thanks
0
Comment
Question by:glottis
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
zariok earned 50 total points
ID: 9803520
Tutorials and code bits:

http://php.net/ - Make sure to check the 'comments' for each function, LOTS of help there from people that could have similar problems.
http://www.phpbuilder.com/ - Another excellant resource.

Make sure you use of the code repository from PHP named PEAR:
http://pear.php.net/

More importantly the DB package:
Package: http://pear.php.net/package/DB
Docs: http://pear.php.net/manual/en/package.database.php


Books by O'Reilly are good.

If you have previous development experience, just get the "handbook" for a syntax and function reference:
PHP Pocket Reference  - O'Reilly - ISBN: 1565927699

GREAT starter book for PHP:
Programming PHP - O'Reilly -  ISBN: 1565926102

Oh for a GREAT magazine you can get either digitally (PDF), print or both:
http://www.phparch.com/



0
 
LVL 2

Author Comment

by:glottis
ID: 9805527
zariok,
thank for the reply... these points are for you... ill just keep the question open if anyone else has a better idea.
0
 
LVL 1

Expert Comment

by:Kitsune
ID: 9809387
Being a long time ASP and then ASP.NET developer, I found the move to PHP was not too bad. PHP reminds me a lot of Classic ASP because it is script oriented rather than compiled like ASP.NET. Very fast and stable, and has the huge bonus of being compatible with browsers other than IE and platforms other than Windows. I have seen ASP.NET do some very strange things with Netscape, Opera, MacOS X, etc. but always works perfectly on IE on Windows. :(

Although MS Access is useful, you will definitely notice that a lot of PHP is geared towards a database program called MySQL (which is free). MySQL is like Microsoft SQL Server - both are more scaleable and powerful than Access. Don't be put off though because the only real difference is connecting to the database. Your SQL queries ("SELECT * FROM ...") are still the same.

A good book would be "PHP and MySQL Web Development" by Luke Welling and Laura Thomson.
0
 
LVL 2

Author Comment

by:glottis
ID: 9815552
Kitsune...

I know about the MySql database... but currently just for learning purposes i am using Access, cause my queries will be very basic in nature...

After getting used to the language, then i will surely go for PHP and MySql, infact even have a book on it too...

But thanks for the info.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question