Solved

PHP for starters

Posted on 2003-11-21
4
342 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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 look for a specific file type in a local or remote server directory using PHP.

943 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

Need Help in Real-Time?

Connect with top rated Experts

1 Experts available now in Live!

Get 1:1 Help Now