Useful PHP functions for beginners

4 replies
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.
#beginners #functions #php
  • Profile picture of the author Michael71
    Bookmarked

    Do some more tutorials, always useful. At least for me
    Signature

    HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
    ---
    Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu

    {{ DiscussionBoard.errors[7780907].message }}
  • Profile picture of the author jay walters
    Thanks for the blog. Bookmarked it.
    {{ DiscussionBoard.errors[7783484].message }}
  • Profile picture of the author DJL
    @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".
    Signature

    None are more hopelessly enslaved than those who falsely believe they are free.
    --Johann Wolfgang von Goethe, Elective Affinities (1809)

    {{ DiscussionBoard.errors[7783958].message }}
  • Profile picture of the author drem
    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__
    {{ DiscussionBoard.errors[7791581].message }}

Trending Topics