code

search page

120 searched posts found

31 Jan 2017
1.6K
No Comments

maximum execution error occurred most in longest executions in #php and #laravel is also written in #php. so if this maximum execution error occurred in #laravel framework and you just want increase seconds of max execution so put this code after <?php in laravel controller file see example code

Post in

4 Jan 2017
0.5K
No Comments
Not enough arguments for the on clause laravel

Mostly this error appear or something went wrong error showing when you are using join on #queries with join ON and multiple AND WHERE This happens to me in #laravel 5.2 version, Following code is showing error So I figure out just add ‘=’ in 2nd parameter of $RELTBLJOIN->where method

Post in

25 Dec 2016
0.73K
No Comments
List of Font Awesome content cheat sheet updated

Web Application Icons Address book fa-address-book “\f2b9”; Address book o fa-address-book-o “\f2ba”; Address card fa-address-card “\f2bb”; Address card o fa-address-card-o “\f2bc”; Adjust fa-adjust “\f042”; American sign language interpreting fa-american-sign-language-interpreting “\f2a3”; Anchor fa-anchor “\f13d”; Archive fa-archive “\f187”; Area chart fa-area-chart “\f1fe”; Arrows fa-arrows “\f047”; Arrows h fa-arrows-h “\f07e”; Arrows v fa-arrows-v

Post in

16 Nov 2016
5.04K
No Comments

The #wordpress concatenating […] in #the_excerpt and sometimes with [&hellip]; I here function defined as trim_excerpt and it passed in add_filter you can copy and put the following code in functions.php file of your current active theme. little bit information about add_filter function #add_filter can change modify of the data, you can customize everything which is

Post in

14 Oct 2016
3.63K
No Comments

the_category(); function is not allowing to direct change tags and attributes, get_the_category(); function return categories of posts in array so we can modify with custom html tags and attributes check out the below example code, its used in under loop of  #the_loop

Post in

26 Sep 2016
3K
No Comments

#wordpress is show too much text the the_excerpt, so we need to customize it for showing shorted excerpt paragraph. copy this code and paste into your current active theme’s functions.php file set different post excerpt length for mobile devices wp_is_mobile is builtin function of #wordpress which return true when it

Post in

17 Sep 2016
4.12K
No Comments
css scroll table body – table freeze panes

By default header of table are moving on top position of table when we scrolling down, so that time we didn’t see the headings of table to identify column value, Here is I have wrote the whole code to set fixed table header in top position of table. Css of

Post in

12 Aug 2016
4.7K
No Comments

Array column #php function added after release version of (PHP 5 >= 5.5.0, PHP 7), If error occurred please check the version of php by calling #php builtin function phpversion(); this function will works if you have php version greater than 5, If array_column function works on localhost and not defined on live

Post in

11 Aug 2016
3.75K
No Comments
PHP print triangle diamond

This is easy and too much loop less code to write diamond and triangle shapes Following code is diamond with the technique of css inline styles Result of diamond code ************************************ Following code is normal triangle with the technique of css inline styles Result of triangle code * ** ***

Post in

29 Jul 2016
5.54K
No Comments
PHP check is mobile tablet or desktop

Now modern days we are using many type of devices to access the websites and applications. Websites and application are showing different sizes contents and media data for smartphones, tablets and desktops like showing tiny size of logo of profile image showing for mobile, medium size showing for tablet iPad devices and the

Post in