jQuery validation plugin – demo A simple form validation plugin (using jQuery) that checks that
jQuery gallery plugin – demo An accessible gallery plugin (using jQuery) that replaces the main
Backuping a single table from a database mysqldump -u -p database_one table_name > /var/www/backups/table_name.sql Restoring
DELETE FROM `tablename` WHERE `created` < DATE_SUB(NOW(), INTERVAL 5 DAY); DELETE FROM `tablename` WHERE `created`
The following javascript snippet will get the name of a random file from a list
du -hs /var/www/ You may omit the directory path if you’d like to find out
In PHP, exporting data into an excel file (.csv) can be achieved very easily by
Problem: You have the following URLs for your website: www.example.com/about-us.html www.example.com/services.html www.example.com/contact-us.html However, you would
UPDATE `tablename` SET `fieldname` = CONCAT(UCASE(SUBSTRING(`fieldname`,1,1)),”, LCASE(SUBSTRING(`fieldname`,2,LENGTH(`fieldname`)))) WHERE `id` = 1