Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

YipMan

Anyone who can recommend the best PHP book?

This topic is 5391 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
What is your skill level and what version of php?

For php4 and being a beginner programmer, "Beginning PHP4" from Wrox should suffice.

For php4 and being a non-beginner programmer, "Professional PHP4 Programming" also by Wrox is a decent pick.

Also, there is php5 that is coming out and I am not sure how much of a change there is going to be between php4 and php5 in considering investing in a book that might/might not become obsolete.

EDIT: Both cover MySQL databases.




|PicRepository|PicIndex|
IM : CScoder@aol.com/ahmed7500@hotmail.com
The Gatekeeper of quotes passé:
"How Appropriate. You fight like a cow" --Sneftel

[edited by - nervo on November 13, 2003 2:13:14 PM]

Share this post


Link to post
Share on other sites
I guess I would say I''m a beginning programmer. I know html and can work javascript and have looked at asp before (and can piece basic stuff together in it too) I''ve read some c++ (also from a book from Wrox btw.)

Thanks keep the suggestions coming please

Also how long before the PHP5 book will come out - and what does the proffesional book contain that the beginner book does not?

Thanks

Share this post


Link to post
Share on other sites
I didn't use any books to learn PHP; I found it very easy going from C[++] to PHP. The function library is patterned after C's (for example, stricmp() for case-insensitive string comparisons, printf() for formatted output, etc.) and everything you'd ever need to know about any function can be found at php.net. Here are some I found useful to bookmark:

String functions
File functions
date()
Image routines
Uploading files

~CGameProgrammer( );

-- Post screenshots of your projects. 100+ posts already in the archives.

[edited by - CGameProgrammer on November 13, 2003 4:21:06 PM]

Share this post


Link to post
Share on other sites
Thanks a lot for the links!

Is there anyone who have some tutorials / information on how to use MySQL and PHP?

Share this post


Link to post
Share on other sites
SQL is a command syntax, MySQL and Access are implementations of databases accessed with SQL. Therefore, the only functions you need to know are:

mysql_connect
mysql_select_db
mysql_close
mysql_query
mysql_result
mysql_num_rows

Search php.net for those functions to see how to use them, and search Google for "SQL" to see how to use it. Don''t look for "SQL +PHP" because SQL is only a syntax, it''s independent from what language you''re using.

~CGameProgrammer( );

-- Post screenshots of your projects. 100+ posts already in the archives.

Share this post


Link to post
Share on other sites
Great! Thanks a lot - i'll start reading right away.

Edit - If anyone has more links like the last one (or the others) feel free to paste them in this thread, the more the better!! )



[edited by - YipMan on November 14, 2003 10:13:29 AM]

Share this post


Link to post
Share on other sites
Check out "Core PHP Programming" by Leon Atkinson. It covers PHP 5 and is one of the better written technical books I''ve read. Examples are just simple enough to show you how to do stuff without dumbing it down so much that they are useless. I''d highly recommend it. It covers how to connect to most databases like mySQL, PostgreSQL, etc.

ATS

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!