Archive for October, 2009

  • PHP Boolean Type

    The boolean data type in PHP is very easy to use (and why should it be difficult, it is either True or it is False). The basic way to set a boolean value is to use the true and false keyword. Unlike other programming languages, true and false are c

    more
  • Ternary Operator – Your Best Friend

    If you have never used the Ternary Operator, or ? operator, your life is about to change. The ternary operator is used as a shorthand for if .. else structures that can really clean up your code. Some may want to classify this under a intermediate

    more
  • dBug. Awesome PHP Debugger

    I just ran into this awesome PHP class called dBug. It works like print_r, but does so much more. You can expand and collapse anything in the structure you use it with. You know no idea how nice this will be to parse large data structures with. S

    more
  • The Ultimate PHP CSV Parser

    Lately I have been trying to find cool PHP utilities that I can use to handle my day to day tasks. Lately parsing CSV files in PHP has been something I have had to do over and over again. Such a basic task can be such a pain considering all of the

    more
  • Use cURL to Connect To Another System

    cURL is a very useful tool used to pragmatically connect and interact with other systems to do various tasks like download a Web Page or RSS feed. It is also used to send information to another computer and get a response. A common example of using

    more
  • Querying A mySQL Database Using PHP

    Querying a mySQL database requires an established connection to a mySQL database.  You can read our article on connecting to a mySQL database here. Querying the mySQL database is as simple as creating the SQL query and passing it through the mysql_

    more
  • Connecting To A mySQL Database Using PHP

    Connecting to a mySQL database is a very important part of any PHP application. mySQL has become an integral part of many PHP applications since it is also free to use. Connecting to a mySQL database only requires a single function call. <? $res

    more
  • PHP Variable Syntax

    PHP is a dynamically typed language. What this means is that you do not have to specify the variable type. You do not even need to declare you variable before using it. All variables have a $ in front of them and cannot be more than 64 characters

    more
  • PHP Hello World

    Not be cliché, but I any book, tutorial or website discusses a programming language always begins with a program that simply displays the text "Hello World" on the screen and I intend to follow that tradition. The process of writing text in PHP req

    more
  • A Brand New Look, Some Changes, and An Announcement

    I have made a lot of different changes to the website this weekend and I thought I should let everyone know about what is happening with the website. First are foremost, I have changed the design of the website. I was never truly satisfied with the

    more

« Older Entries