Useful PHP functions for beginners

by 4 replies
5
Hi Guys,

For anyone new or just starting out with PHP a blog post I wrote a few days ago might be useful: PHP Functions.

If you have anything to add feedback would be great, also let me know if you have any questions.

Hope this helps someone.

Leon.
#programming #beginners #functions #php
  • Bookmarked

    Do some more tutorials, always useful. At least for me
  • Thanks for the blog. Bookmarked it.
  • @RevillWebDesign:

    Thanks for your valuable contribution; however, may I suggest a few improvements you could make?
    • Black text on a white background would improve readability.
    • Your first code example is rotated 90 degrees for no apparent reason.
    • WRONG: "this list is comprised of suggestions"
      RIGHT: "this list comprises suggestions".
  • A few functions that may be worthwhile:

    array_merge
    is_int, is_strong,is_numeric
    uniqid
    various sort functions
    session_start
    really simple but the difference between include and require_once
    magic constants such as __DIR__

Next Topics on Trending Feed