PHP Tutorial: Looping Through & Displaying A MySQLi Result Set
Recently I’ve seen a lot of people using while loops to retrieve a single record. You only need to loop through your result set when you expect to get more than one row of...
lang="en-US">
Recently I’ve seen a lot of people using while loops to retrieve a single record. You only need to loop through your result set when you expect to get more than one row of...
So, here’s the low down on how to setup a connection to a MySQL database using MySQLi and PHP. This will also make sure your login information is protected. First, you’ll need a database,...
Wow I guess it’s been a while since I’ve posted anything. I’ve been busy moving and working on my games but I did find a few minutes to make this little game. This randomly...
I’ve been working on my .bashrc file so I thought I would share. # To the extent possible under law, the author(s) have dedicated all # copyright and related and neighboring rights to this...
Locate PHP error logs on the server grep ‘error_log’ /etc/php.ini | awk -F= ‘{ print $2; }’ Restart your bash_profile . ~/.bash_profile Change to your home directory cd ~ View your history history 50...
I’ve been playing with Google maps lately and I thought I would share this little tidbit. It still needs some refinement (ie fetching your location from IP for non-html5 compliant browsers and letting you...
This is a really useful plunker that allows you to integrate tinyMCE into your angular projects as a directive. You can apply the WYSIWYG to multiple textareas on a page or in angular UI...
There are many times when you want to perform an autocomplete that works by searching all of the object properties and not just a single field or the key. If so you’ll enjoy this...
It always bugs me that everyone resorts to using jQuery to write their angular autocomplete directives so I’ve toyed around with it until coming up with a pure angular solution. Enjoy this Plunker!
This plunker will show you how to use the unique filter included in the Angular UI utilities to strip out duplicates in an object array. Enjoy!