Follow me:
Archives
- ajax
- apache
- array
- attachement
- attachementphp
- best practice
- branch
- case
- cmd
- comment
- convert
- css
- csv
- curl
- curl_init
- date
- db
- download
- duplicate
- editor
- encoding
- entities
- error
- export
- form
- git
- htaccess
- html entities
- IDE
- if clause
- imp
- import
- javascript
- jquery
- login
- mcv
- merge
- microtime
- multiple select
- mysql
- NetBeans
- notepad
- outlook
- php
- phpdoc
- phpmyadmin
- posts_per_page
- query_posts
- regex
- request
- rewrite
- se
- serializing
- server
- server variables
- service
- service class
- smarty
- sql
- standards
- string
- superglobals
- text edit
- time
- timestamp
- tools
- update
- utilities
- wkhtmltopdf
- wordpress
- xampp
- zend
Monthly Archives: September 2012
Add characters at the end of each line in Notepad ++
Description: Add a comma (,), period(.) or any other character at the end of each row in Notepad ++, from a column of elements. Solution: Addign a character in any position of a column in Notepad ++ is very easy. … Continue reading
Find duplicate values in database table
Description: Detect fields that have duplicate values in a database table. Solution: For finding duplicate values, the COUNT condition can be used, specifying the column name that we require. Example: SELECT customer_idFROM customers_tableGROUP BY customer_idHAVING count( * ) > 1; Also … Continue reading
Use adapter with Zend_Db
Description: Return a selection of database table fields using the Zend_Db adapter with Zend Framework Solution It’s easier to create an adapter of the database table class and use it in returning the desired values. This grants speed, clean code … Continue reading
Rewrite links with htaccess
Description: Rewrite or redirect links insite a web application. Solution: Redirection is simple using htaccess. Just create a file named .htaccess in the root of your web project and with some basic rules and regular expressions, all calls to your … Continue reading
Get current and past month with Zend Date
Description: Return current and previous months in Zend Framework, considering passing into a new year as well. Solution: Zend Framework, through Zend_Date() offers a quick solution for this problem. With the get() function we can return any part of the current date, and with … Continue reading