Solved

PHP for starters

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How can I do this in Pyhton? 12 75
How to Insert a File Using Text Editor 9 55
Button Click 11 26
html input clean up 3 32
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

743 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

15 Experts available now in Live!

Get 1:1 Help Now