Solved

PHP for starters

Posted on 2003-11-21
4
346 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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.

696 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