Solved

PHP for starters

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

776 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