Database How to Backup MySQL Database using mysqldump Backup MySQL Database using mysqldump One of the most common ways to backup MySQL database is to use a command called “mysqldump“. Backing Up The basic syntax of the command to backup mysql with mysqldump is: mysqldump -u your_username -p database_to_backup > backup_file_name.sql Restoring Dumped Data To restore a database backup we created with mysqldump, […] Written by Clemence Ayekple March 23, 2018September 24, 2018
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
Health Improving your memory – 6 Techniques that can help Improving your memory is as easy as improving on one’s maths or foreign language skills, by simply practicing true memory building exercises. Human Memory is not static and unchanging. Humans have two kinds of memory – short-term and long-term memory. Our brain uses the Short-term Memory to store information needed right away, as in the case of […] Written by Clemence Ayekple December 12, 2015August 7, 2018