logo_slemmen headbust

Sjoerd Lemmen,
      anything is possible...

Php

Here you can find all php related posts. Clicking read more will take you to the full story.

2015-03-31 - Site rewrited to Smarty

Hey fellow internet traveler, Finally I had some spare time to check and see if I could rewrite some code. Read more...



2014-09-03 - Unlimited depth menu

Here is what I use for the creation of a menu with unlimited depth, which can be styled with css as you like. Enjoy the code! Read more...



2013-07-24 - Database class

This is my database class, which I use to fetch my queries and results. Let me know if you use it. Read more...



2013-07-11 - Movie Database

This subdomain site allows me to collect movies, so when I go and buy one. Read more...



2013-07-11 - Visitor tracking

The name says it all. Visitor tracking. I took a swing add it. However as you may know Google Analytics is the more obvious choice. Read more...



2014-01-21 - Trim empty rows from results

I've had the problem that my pagination was adding empty rows until $RowsPerPage condition was met. However using this code to "cut-off" empty results that are being return through a mysql_fetch_array command, I was able to solve this problem. [code] if (!trim($row[$i]))continue; [/code] Read more...