Add a path to the PHP include path
I recently wanted to add a Zend library to a project without adding the entire framework. I found that internally,…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
I recently wanted to add a Zend library to a project without adding the entire framework. I found that internally,…
The Zend Validator error messages are not the most helpful. Considor the below code for creating a file input: $this->addElement('file',…
If using Netbeans for your development and you have a horrendous spagetti coded “if” statement, you can use a keyboard…
When using an inline partial viewscript in my form, I sometimes need access to data. I can accomplish this by…
Have had some serious problems getting this working, but after a 4 hour head bashing session, we’ve cracked it. CREATE…
When creating a Zend Framework site, its always best to keep the Zend library as an external source. This way…
To pass data from your controller, to a Zend_Form, you can utilise the config parameters: $this->view->form = new Contact_Edit_Form(array('contactName' =>…
When using a CLI script with options, I like to use the Zend_Console. If my options are as follows: $console…