Topic: PHP/MySQL

The following posts are filed under PHP/MySQL.

Speed up your PHP for loops

Although PHP for loops are already incredibly fast, you can further, albeit rather marginally, optimize your loops if you are a performance junkie. Here are some simple ways how. Comments are closed. Read the complete article »


Custom PHP functions

As I’d promised, today I’ll teach you how to create your own functions to assist you in your programming.
It’s pretty simple, but some people might not be able to grasp the concept so I’ll try to make things clear for everyone On to the tutorial! Comments are closed. Read the complete article »


PHP functions

Today we’re going to look at what most programmers call functions.
A function is what you call in your program to tell it to perform a series of smaller actions, like echo(), substr(), mysql_query(), or your very own functions like calculate_age() or bake_cookies() (which we will learn how to create in the next tutorial).
I’ll be explaining [...] Comments are closed. Read the complete article »


Paamayim Nekudotayim

I was just messing around with PHP and the very promising web application framework CodeIgniter, which I’m using to develop NOVALISTIC 3.0, and I encountered a funny parse error listed below:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in D:\NOVALISTIC\3.0\ci\system\application\views\header.php on line 10

The first thing I (obviously and intuitively) did, was search PHP Bugs for the string [...] Comments are closed. Read the complete article »


PHP if-elseif-else

I’m getting really lazy writing all these beginner PHP tutorials, so this will either be my second last or last one. I’ll be sporadically and scarcely covering some other functions along with this tutorial, but I assure you that I’ll probably post more beginner tutorials when NOVALISTIC 3.0 is up. I’ll only get motivation from [...] Comments are closed. Read the complete article »


Arrays in PHP

Welcome back to my little series of PHP novice tutorials. As previously mentioned, I will move on to more advanced tutorials in a month or so, but I might randomly throw in one or two of those while I’m at it. I dunno.
Let’s move on to arrays. Comments are closed. Read the complete article »


Mathematical PHP

Today I’ll be talking about basic arithmetic functions and a little about PHP errors.
I’ll probably fill June with nothing but novice PHP tutorials just to get started, then carry on to more sophisticated PHP workings and probably a practical application or two. Well, let’s get started! Comments are closed. Read the complete article »


Introduction to PHP

Well, I’ve decided that my first actual tutorial should be a little beginner’s introduction to PHP: Hypertext Preprocessor, one of the most popular open source programming languages around. So, here we go!
OK, PHP is basically a programming language designed primarily for web applications and databases. That’s why PHP has complete capability of being [...] Comments are closed. Read the complete article »