Laravel routes are not working on live server Try and change the content of your .htacess to this
Blade Foreach With Blade, things become a little simpler. We can use the foreach construct to help us out. we need to define partials and have them call themselves partials/category.blade.php partials/category-none.blade.php
if you use extra new methods after use resource. its simple just use your extra route before resource route.
Use this code in your blade file to get current_controller name and route at easily
What if you link an absolute url for the css begining with a /? I think it’s work properly.
jQuery auto scroll and load more, Lazy loading, Infinite scrolling
Create time picker using jquery datetimepicker
Custom columns for custom post types in admin list view table Custom columns for custom post types
Add order by in post query, have_post using pre_get_posts hook Add this hook in functions.php file
How to setup environment variable to cake bake for xampp Cakephp Console path: C:\xampp\htdocs\project_name\lib\Cake\Console; Add as a value of the path variable value with comma separated: ;C:\xampp\htdocs\project_name\lib\Cake\Console; How to bake using CMD Step 1: Go to C:\xampp\htdocs\project_name\app Step 2: Press shift + right mouse and click on Open Command Window Here Step […]
Create multilevel category tree with PHP and mysql Creating a mysql table with parent and child columns Insert some dummy records. Parent columns with zero value denotes its the base/root category. Creating category Tree using recursion Display the category tree in a dropdown list. Displaying Category tree in list format
How to set password in your phpmyadmin for secure database access?
PHP – Custom array sorting one dimensional to multidimensional array
Get all email addresses from a string as an array
An error message will show if you run Cakephp 2.5 in PHP 7. The error message is given below. The error is occurred due to Cakephp 2.5 is not compatible with PHP 7. There is an easy way to solve this issue and run cakephp 2.5 in PHP 7. Fatal error: Cannot use ‘String’ as […]
Ho to remove spinner from input type number using css
When creating a database, common sense dictates that we use separate tables for different types of entities. Some examples are: customers, orders, items, messages etc… But we also need to have relationships between these tables. For instance, customers make orders, and orders contain items. These relationships need to be represented in the database.
PHP Credit Card Number Validate and Get Card Name/Type By Card Number
Message saying “Because an activated user account User Account on your system some functions of XAMPP are possibly restricted..”