Currently browsing

December 6, 2012

DELETE restrictions of VIEWS

DELETE restrictions of VIEWS One of my friends told me that, he has a VIEW from a single base table and the user of the view is always trying to DELETE the records from VIEW. So the underlying TABLE records are also deleted for deletion actions of the view. He …

Replace Smarty with PHP templates

Replace Smarty with PHP templates pre http://blog.mousavi.net/wp-content/uploads/2013/01/{ background-color:#444; white-space:pre-wrap; font-size:90%; padding:0px 6px; } In many performance guides, Smarty is considered to be removed to speed up things. But oftentimes it’s not Smarty causing performance problems, but rather big modifier chains not being cached. To point this out, we need to …

Troubleshooting MySQL error 1045 using WAMP

Troubleshooting MySQL error #1045 using WAMP This tutorial will clarify with necessary illustrations and figures how to avoid #1045 error using WAMP server. For other servers like LAMP, this tutorial may not be helpful. When you install WAMP and try to connect MySQL server using phpMyAdmin for the first time …