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: October 2012
Format number with decimals without rounding
Description: Trying to get a precise number of decimal in a number results most of the times in a rounding of the number. Both round() and number_format() functions of PhP round the output result. Solution: The solution to this issue is to … Continue reading
301 and 302 redirect, differences and implementation
Description: Is there any difference between 301 and 301 redirects ? Solution: Practically, there is limited difference between the two. To be precise, 301 redirect signals a permanent move of the page, while 302 reffers to a temporary move. This … Continue reading
Convert StdClass objects to SOAP compliant objects
Description: Having an obtained StdClass Object, we require to change it into a SOAP structure object or Array compliant. Solution: Converting a StdClass Object with PhP basically means iterating the object and populating the public properties with elements from the … Continue reading
Add form with Zend Framework
Description: Add a working form in Zend view with method, elements and action. Solution: Adding a form with Zend Framework is pretty straight forward. Zend has all the methods for creating a form and transfering it in the view element. … Continue reading
Update database table depending on result from SELECT with CASE clause
Description: How to update a database table depending on a query on another or several tables ? Solution: If you want to make a script that does this, it’s very easy, just select all the values you need, and then … Continue reading