Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts

    New to PHP? Here are some must-read manual pages.

    Hopefully posts like these aren't off-limits for non-moderators. I just felt that these manual pages were the most important ones to read and that they should bring just about any newcomer up to speed very quickly on the fundamentals and some not-so-fundamental but still important topics.

    The Language reference page: http://www.php.net/manual/en/langref.php
    The pages linked on this page are absolutely necessary. They'll teach you about all the time-saving goodness PHP has to offer. Things you may never have heard of, or things you've seen but never understood in someone else's source code. Arrays, switches, all the loop types, and a bunch of other things that'll help you write smarter, faster, and clearer PHP applications.

    String functions: http://www.php.net/strings
    PHP is a Web-programming language and as such, it's all about handling input and output and stored data. Strings are everywhere, and PHP has some very awesome functions for doing all sorts of handy and cool things to them. If you're looking to do some really fancy things with strings, check out the Regular Expression section at http://ca.php.net/pcre. The "Pattern Syntax" page will teach you how to write regular expressions (though there are other, more casually-worded tutorials on the Web that you might want to Google for).

    Array functions: http://www.php.net/array
    You've learned about the array in the reference and now this page will show you the vast number of time-saving and just plain necessary functions for sorting, splitting, merging, etc.

    Math: http://www.php.net/manual/en/ref.math.php
    Some of these you may never use. Others you may use all the time. round (), abs (), ceil (), and floor() are just some of the ones everyone needs to know about.

    MySQL: http://www.php.net/mysql
    This isn't as necessary as the others, but when you've got a firm grip on the rest of the stuff listed here, you'll probably want to dive into the awesome world of databases. The MySQL page lists the functions and examples you'll need to get going. To get started on SQL, I've always liked www.sqlcourse.com and www.sqlcourse2.com for graduates of the former.

    That about does it for the pages I think are most necessary. Please contribute your favourite manual pages, too. Hopefully this thread will help a lot of confused or frustrated or just plain ambitious PHP newcomers.
    Last edited by AaronW; 05-23-2005 at 01:56 PM.

  • #2
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hrm. Not as popular as I'd hoped. I still think these links should be copied into one of the stickies in the PHP forum. Would get a lot of people helping themselves I think.

  • #3
    Regular Coder
    Join Date
    May 2005
    Posts
    100
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you could just have put www.php.net

  • #4
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts
    php.net is friggin' huge. I linked to specific manual pages. There are people on these boards asking questions about the basics every day. Spending an hour or so reading the content on these pages would solve a lot of their problems and help them optimize in the future. If you're new to PHP, those pages are necessary primers. Beats stumbling through the learning process, I think.

  • #5
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,172
    Thanks
    19
    Thanked 65 Times in 64 Posts
    How do we recommend a post for stickyage?

  • #6
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by NancyJ
    How do we recommend a post for stickyage?
    I don't know... I think the "Report a Post" thing is solely for bad posts. You get to type a message though, so perhaps it could be used for good.

    I added a bit about regular expressions to the Strings section there. They're tricky to learn, so might want to leave them for later. Figured I'd at least let people know they exist as they can be very helpful.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •