Subscribe
Twitter Updates
- Fuuuu http://t.co/ItjqQrkT 1 week ago
- RT @phoronix: Cinnamon Fork Of GNOME Shell Is Tasty At v1.2: Cinnamon, the fork of the GNOME 3.x Shell by Linux Mint developer... http:/ ... 1 week ago
- Disable javascript in your browser to skip the #SOPA protest on Wikipedia 2 weeks ago
- Symfony2 and Twig part of NetBeans (NetBeans for PHP) http://t.co/6Ur2QoLX 2 weeks ago
- The Raspberry Pi Computer Is Finally Being Manufactured http://t.co/QJxATfXV 3 weeks ago
Tag Archives: snippets
Insert value “0″ for primary keys with auto increment in MySQL
In order to insert value 0 in a field that is set as primary key for a MySQL table you need to execute the following query prior to any insert query: SET SQL_MODE = “NO_AUTO_VALUE_ON_ZERO”;Continue reading
Remove blank lines from a textarea using Prototype
Here is a Javascript function used to remove blank lines from a textarea…Continue reading
Remove spaces from an input field with JavaScript
This is a small snippet to remove the spaces from an input field using JavaScript. It can be useful when you want a value without spaces, or when you want to replace the spaces from the input field with other characters.Continue reading
