PHP

php type casting

Access an object as an array in PHP

Have you ever been in that position when you are working with an PHP object and you need only one single peace of the data it contains and you want to skip all that iteration part and access that data directly. I have.

Easy PHP II: Variables 2

Easy PHP II: Variables

In the previous introductory PHP tutorial we talked about what PHP looks like and in what kind of environment it runs. To sum up, we said that we write PHP code between tags that look like this: “<?php … ?>” and we end every command line must and in semicolon (;). We use “echo” or “print” in order for PHP to show things to us.

Easy PHP I: Introduction 4

Easy PHP I: Introduction

I’ve been involved with PHP since I got into the web design and development world. This is because since in my beginnings I chose to use WordPress as a CMS to build websites with and since that day I have been needing PHP to build WordPress themes (and plug-ins lately). I have learned a lot of PHP tips and tricks, but I have not yet been able to study it regularly and eventually an advanced programmer as I aim.