Programming How to “manually” add/append values to request array in laravel Add/append values to request array in Laravel I have encountered a situation where I needed to change the value of a particular request or append values to request array in Laravel before calling an Eloquent method in a store() or update() method with Request parameter. So I did search for how to do that and I will like to share my findings […] Written by Clemence Ayekple July 1, 2016September 23, 2018
Programming How to format date with accessors and mutators in laravel 5.2 Change date format with accessors and mutators in Laravel 5.2 Dealing with a date can be stressful at times. Date field in MySQL Database has a default format of YYYY-MM-DD. And bootstrap datepicker gives a date format of in DD/MM/YYYY. How do I handle it properly in Laravel? In this post, we will use accessors and mutators to format date. […] Written by Clemence Ayekple July 1, 2016September 24, 2018
Programming Handling file uploads with php without any framework You may want visitors to your website to upload their profile pictures and other documents like pdf or just share files on your website for the public to download. However, your ability to handle file uploads can be advantageous to your website. The ability to upload files lies in HTML input element type ‘file’, which […] Written by Clemence Ayekple December 31, 2015July 28, 2018
Database Troubleshooting How to reset MySQL root password on Ubuntu Server MySQL root Password Reset Just for some weird reason, you forget your root password, either you have changed it recently and just can not remember what you typed. Well do not give up just yet, there is a way out. To reset the password you would need physical access to the server, either via ssh or directory […] Written by Allan Philip Barku December 22, 2015August 5, 2018