Quantcast
Channel: PHP – NotOneBit
Browsing all 22 articles
Browse latest View live

Ternary Operators (or How to Streamline an If/Else Statement)

PHP, like most programming or scripting language allows for comparison operations bu using if/else. It’s a staple of any good language yet at the same time you can end up writing a lot of code in order...

View Article



Image may be NSFW.
Clik here to view.

Finally, the simple pagination class

In the years that I’ve been a web developer, I have written very few OOP PHP scripts. I just haven’t had the need to, and to be honest the whole OOP concept seemed like something I didn’t need to...

View Article

Simple Pagination Class Revisited

I wanted to make a small addition to the pagination class talked about at http://www.catchmyfame.com/2007/07/28/finally-the-simple-pagination-class/. I added another example which uses a basic form at...

View Article

Image may be NSFW.
Clik here to view.

Bracket Style and Indenting Code

I’ll try to keep this short. Having been coding for years I’ve seen a lot of examples of how other people write code. Now while there are certain requirements in coding, there are areas where you can...

View Article

You Learn Something New Everyday

I’ve been coding in PHP for probably eight years and thought I knew the language pretty well. Was I surprised the other day when I came across someone else’s code and stared at it blankly, wondering...

View Article


PHP Pagination Class

Some of you have asked for more examples of the PHP pagination class I wrote, specifically the same examples I’m using here on the site. The database comes from MySQL’s free example databases available...

View Article

Image may be NSFW.
Clik here to view.

Introduction to PHP’s Serialize Function

I was tinkering with a WordPress database the other day and was nosing around through some tables, looking for some statistical data which I never found, and noticed that a few of the tables were...

View Article

Narrow Minded

Recently I was checking out some code written many years ago by another developer, and as I was hacking it up to be re-used, I started wondering why he had decided to split up his lines of code so that...

View Article


PHP Pagination Class Updated – Version 2

Based on feedback (and the long time between updates), I’m releasing an updated version of the PHP pagination class. Changes No more SQL errors if using the class on a query with no results (although I...

View Article


PHP Pagination Class – Version 3

It’s been a while since the popular PHP pagination class has received any of my attention, so a few months ago I set out to re-write the class to be more up to date. This version takes advantage of...

View Article

Image may be NSFW.
Clik here to view.

Looking for feedback on a WordPress dashboard plugin

I’ve developed a WordPress dashboard plugin and would like some feedback on it. If you’re interested, hit me up with your contact information. Oh, and it’s a simple to-do widget. You can see the plugin...

View Article

Image may be NSFW.
Clik here to view.

Two WordPress Plugins To Improve Your User Management Page

This is a two part post that will give you the code for plugins that will modify your WordPress user management page with some useful additional information This post will give you the code for the...

View Article

Image may be NSFW.
Clik here to view.

Bracket Style and Indenting Code

I’ll try to keep this short. Having been coding for years I’ve seen a lot of examples of how other people write code. Now while there are certain requirements in coding, there are areas where you can...

View Article


You Learn Something New Everyday

I’ve been coding in PHP for probably eight years and thought I knew the language pretty well. Was I surprised the other day when I came across someone else’s code and stared at it blankly, wondering...

View Article

PHP Pagination Class

Some of you have asked for more examples of the PHP pagination class I wrote, specifically the same examples I’m using here on the site. The database comes from MySQL’s free example databases available...

View Article


Image may be NSFW.
Clik here to view.

Introduction to PHP’s Serialize Function

I was tinkering with a WordPress database the other day and was nosing around through some tables, looking for some statistical data which I never found, and noticed that a few of the tables were...

View Article

Narrow Minded

Recently I was checking out some code written many years ago by another developer, and as I was hacking it up to be re-used, I started wondering why he had decided to split up his lines of code so that...

View Article


PHP Pagination Class Updated – Version 2

Based on feedback (and the long time between updates), I’m releasing an updated version of the PHP pagination class. Changes No more SQL errors if using the class on a query with no results (although I...

View Article

PHP Pagination Class – Version 3

It’s been a while since the popular PHP pagination class has received any of my attention, so a few months ago I set out to re-write the class to be more up to date. This version takes advantage of...

View Article

Image may be NSFW.
Clik here to view.

Looking for feedback on a WordPress dashboard plugin

I’ve developed a WordPress dashboard plugin and would like some feedback on it. If you’re interested, hit me up with your contact information. Oh, and it’s a simple to-do widget. You can see the plugin...

View Article
Browsing all 22 articles
Browse latest View live




Latest Images