It is set of instructions that are executed repeatedly. Example: Suppose, if a person can eat 4 pizzas. First, he will eat 1st, then, second... more
Expression used to check if condition is true or not. So, definitely, there can be 2 output and based on the output we can perform the requi... more
Basic fundamental concepts for beginners
View All ..Google Voice Typing allows you to write the words just by your voice. It’s so easy. You have to just speak what you want to write. Req... more
How to Establish FTP connection for fast data transfer between Mobile to PC :
Turn on your wi-fi in laptop
download and install any ftp ... more
Hidden Tricks
View All ..jquery code to generate pdf from div with automatic height and width – Its can be easily done with html2canvas and jspdf. So, to gener... more
Encode base64 in jQuery – btoa() function is used for it.For Example – var str = ‘Hello’;var encrypted_str = btoa (s... more
JQuery .after() and .insertAfter() functions can be used to append or insert an after other element.
Let us take an example we have to inse... more
Read input type file contents – File content can be read using FileReader function of javascript. Here is an example for explanation &... more
JQuery - Problems and Solutions
View All ..Puzzles Interview Questions : Ques: There are 3 persons in a room(say you and 2 others). From other 2 persons one speaks truth and another l... more
Ques: What is artisan ? Ans: Artisan is command-line interface that is used in laravel to develop an application. It provides some commands... more
Ques: What is root element ? Ans:<html> is the root element. Ques: What is difference between div and span tag ? Ans: div is block le... more
Ques: What is difference between setInterval () and setTimeout () ? Ans: setInterval(expression, time) – It will run the code or funct... more
Ques: What is difference between VARCHAR and TEXT ? Ans: Indexing can not be done on TEXT column. So if you have to index, you have to use V... more
Are you preparing for PHP Interview ? Whether you are a fresher or experienced, confidence is checked. Here are some questions for you ..... more
PHP Interview Questions
View All ..WordPress Code to get Author ID by Post ID – WordPress provides get_post_field($field, WP_Post $post=null, $context = ‘display... more
Code to redirect http site to https using htaccess – <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteR... more
Change controller and model directory path(in Codeigniter) – You can changed it by using HMVC extension. First of all download the ext... more
Code to confirm that current page is a blog page in wordpress – Make a function in functions.php – if(is_archive || is_author() ... more
How to copy all files of a directory to a directory on other server ?Suppose, we have to copy all files in a directory(dir/subdir) to other ... more
Steps to copy all files of a particular folder from other ftp to current ftp – First of all make connection with Remote(other) FTP (fr... more