How to handle date format in symfony2 with doctrine?
Validation is a very common task in web applications. Data entered in forms needs to be validated and it needs to be validated before it is written into a database or passed to a...
Validation is a very common task in web applications. Data entered in forms needs to be validated and it needs to be validated before it is written into a database or passed to a...
Get user ip address in symfony2 controller In symfony2 controller we can get user ip address by request service. Following is statement to get ip address. Share this…FacebookPinterestTwitterLinkedinTumblr
Contact form 7 is very famous form plugin for wordpress. It allows us to manage and customize multiple forms with simple markup. We can build forms with bootstrap html structure and classes. For bootstrap...
Add custom error message for form fields in symfony2 Symfony is a set of reusable PHP components and PHP framework for web projects. By Symfony websites can be created rapidly, we can create controllers,...
Rest Drupal Admin Password To reset drupal admin password when you lost it and email notification could not work mostly on localhost, then you can reset it with sql-query. For this you have to...
While debugging php code we might need to use print_r() or var_dump() functions with exit or die, as in following code but by following code page will not render completely because exit or die...
Get controller name and method name. CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. Following codeigniter...
You can add following code on top of your php file. I had warnings and notices on joomla 2.5.11 site, I added following code in index.php file and it works. Share this…FacebookPinterestTwitterLinkedinTumblr
doSelectStmt in symfony 1.2 Share this…FacebookPinterestTwitterLinkedinTumblr
Sometimes we require to execute complex query in symfony 1.2 with propel. For this following code can be used. $rowObj will have result of your given query. You can check it via var_dump or...
More