VR SAVANI

New Trending Topics and Study Material

Breaking

Tuesday, 2 April 2019

00:14

Top 3 Most Demanded Programming Languages of 2019

Most In-Demand Programming Languages of 2019



If you are a newbie in the field of software development, the very first question comes to your mind is “Where to begin?” That’s undoubtedly true!
One of the key reasons for learning a new language is to be able to take advantage of the employment opportunities it offers. Coding interviews are a chance for employers to get to see how much you know about your language of choice.

What are the programming languages most popular in 2019?

This article provides our picks for the best coding languages to learn in 2019.

1. Java – 65,986 jobs
Java was developed by James Gosling at Sun Microsystems and later acquired by the Oracle Corporation. This is one of the most used languages in the world. Considering the number, the number of jobs postings have been grown by 6% as compared to the last year.

2. Python – 61,818 jobs
Python was developed by a Dutch programmer, Guido van Rossum. It can be considered as one of the fastest growing programming languages. Python has seen a growth of around 24% in terms of job postings with 61,000 job postings as compared to last year’s 46,000.

3. JavaScript – 38,018 jobs
JavaScript is the third most popular programming language in our list. It’s inspired by Java and developed by American technologist, Brendan Eich. This year JavaScript job postings haven’t seen much changes, but still managed to secure the third position.

Monday, 21 January 2019

23:46

The Best Happy Birthday Quotes 2019

ROMANTIC BIRTHDAY

b-day image | happy birthday


My love for you has a never-ending supply. Happy birthday my darling, may our love never run dry.


You make my wishes come true every day. Today, I hope that your birthday with is granted. Happy birthday.


I love you more than words can say. I hope you have a happy birthday.


You can blow out your birthday candles today, but I hope that the flame of our love never goes out. Happy birthday.


Your birthday is just another excuse for me to shower you with kisses, love, and affection. Happy birthday to my sweetheart.


Having you by my side has been such a gift to me. Happy birthday, have fun opening up all of your presents.




It is your birthday but you are still looking young as ever. Happy birthday, my love.


The day you were born is a day I will never forget. It is the day that I realized that I could love another person more than I thought was possible. Happy birthday, I love you with all my heart.


I still can’t believe how much you have grown since the first moment that I held you as a baby in my arms. You have grown into someone that I am very proud to call my son/daughter. Happy birthday.


Each passing year is bittersweet because I am in awe of the person that you have become but I will always remember you as my little boy/girl. Happy birthday!


Your birthday is a special day for all of us because it is the day that we really became a family. Happy birthday.


Happy birthday to the best son that I could ever ask for.


Happy birthday to the best, sweetest daughter in the world.


If we do not say it enough, today we wanted to let you know what a gift you are to us. Happy birthday to a wonderful son/daughter.


You are our greatest joy. We wish you a wonderful birthday that makes you as happy as you have made us. With every day that passes by, you have become more than just a twinkle in my eye. Happy birthday to a wonderful son/daughter.


You are very special and your day should be just that. Happy birthday to my daughter.


The most amazing daughter in the world deserves the best birthday. Happy birthday to the light of my life.


Happy birthday to the sweetest daughter that a parent could ever hope for.

Monday, 5 March 2018

21:09

How to Animate HTML Elements Using jQuery On Button Click | 2018 | PHP Tutorial |





Syntax : 

$(selector).hide(speed,callback);



<!DOCTYPE html>
<html>
    <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
        <script>
            $(document).ready(function () {
                $("#hide").click(function () {
                    $("#my").hide(1000);
                });
            });
        </script>
    </head>
    <body>
        <div id="my">Click On The Hide Button Start Animation ...</div>
        <br>
        <button id="hide">Hide</button>
    </body>
</html>





20:43

How to hide & show html elements using jQuery | 2018 | PHP Tutorial |


jQuery hide() and show()



hide and show Image |  jQuery Image
jQuery 1




Here is the raw HTML code for the demo:


<!DOCTYPE html>
<html>
    <head>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
        <script>
            $(document).ready(function () {
                $("#hide").click(function () {
                    $("p").hide();
                });
                $("#show").click(function () {
                    $("p").show();
                });
            });
        </script>
    </head>
    <body>

        <p>Click on the Hide & Show Button...</p>

        <button id="hide">Hide</button>
        <button id="show">Show</button>

    </body>

</html>







Thursday, 1 March 2018

12:15

What is use of 301 response status code?






  • It indicates that a resource has been permanently moved to the new location specified by the Location:header.
  • Means the old URL is obsolete and should replace any references to the old URL with the indicated URL. 
  • After there direction,the back in your browser won’t reference the initially requested page.
  • As a result of the old page being permanently redirected. 
  • 301 status code also indicates to search engines that link equity from the previous URL should be credited to the new one.





Monday, 26 February 2018

23:18

How to create Session in PHP and use of session | vrsavani 2018


First, create one PHP page paste this code in this file



<div class="jumbotron bg-white text-center text-white">
 <div class="container bg-danger" >
  <form action="SessionDemo.php" method="post">
   <br>
   <hr class="bg-light">
   <h2 > Enter Session Value </h2>
   <hr class="bg-light">
   <div class="form-group">
    <input type="text" name="name" class="form-control" placeholder="Enter Session Value..." >
   </div>
   <input type="submit" value="Save Session" name="Save"  class="btn btn-success btn-block"/>
   <input type="submit" value="Show Session" name="show"  class="btn btn-warning btn-block"/>
   <input type="submit" value="Destroyed Session" name="del"  class="btn btn-light btn-block"/>
   <br><br>
  </form>
 </div>
</div> 
        
  
  






Design 1

Session in php | vrsavani blog | use of session



1) Start a PHP Session

A session is started with the session_start() function.
Session variables are set with the PHP global variable: $_SESSION.

$_SESSION["Session Name"] = "Value"; 

in this tutorial ,I set session like this


if (isset($_POST['Save'])) {
 if (!empty($_POST['name'])) {
  $a = $_POST['name'];
  // Set session variables
  $_SESSION["demo"] = $a;
  echo "<h3 class='alert alert-success alert-dismissable fade show text-center'>Session variables are set.</h3><br><br>";
 } else {
 //if session is not set ...
  echo "<h3 class='alert alert-danger alert-dismissable fade show text-center'>Session variables are Not set.</h3><br><br>";
 }
} 



If User Click One Save Button So that time Session is created and set the values of the session.....


Design 2


error in session | vrsavani | session variables are not set
2.1





session variables are set | vrsavani | session img
2.2



2) Get PHP Session Variable Values

Also notice that all session variable values are stored in the global $_SESSION variable:

if (isset($_POST['show'])) {
 // Show session variables
 echo "<h3 class='alert alert-success alert-dismissable fade show text-center'>Your 
        Session variables =  " . $_SESSION["demo"] . "</h3><br><br>";
} 



Design 3

show session variables | vrsavani | savani blog

3) Destroy a PHP Session: 

To remove all global session variables and destroy the session, use session_unset() and session_destroy():

if (isset($_POST['del'])) {
 // destroy  the session 
 session_destroy();
 echo "<h3 class='alert alert-success alert-dismissable fade show text-center'>All 
        session variables are now removed, and the session is destroyed.</h3><br><br>";
} 



Design 4


removed session | destroyed session | vrsavani blog | PHP




Download Source File With Designing...

vrsavani blog | download tutorial






Sunday, 25 February 2018

01:59

Add Dynamic Textbox Using PHP jQuery

In this tutorial helps to add Textbox dynamically using jQuery and PHP. When user click on add button New textbox will add.

::::: Demo :::::






1) Add This Link on Your PHP File

Css / Script #

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">

        <!-- jQuery library -->
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

        <!-- Popper JS -->
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
        
		
		





2) Html Design


Note : Add bootstrap file for perfect design....
<div class="container">
	<h2>Add Dynamic Textbox</h2>
        <button type="submit" class="btn btn-primary" onclick="addTextBox();">Add <i class="fa fa-plus-square"></i></button>
		<br><br>
        <div id="newBox">
			<div class="form-group">
				<input type="text" class="form-control" placeholder="Dynamic Text Box..." name="txt_1">
            </div>
        </div>
</div>			




3) Write some script for add new textbox :

<script>
	var id = 2, txt_box;
            function addTextBox() {       
                txt_box = '<div class="form-group"><input type="text" name="txt_' + id + '" placeholder="Dynamic Text Box ' + id + '..." class="form-control"/></div>';
                $("#newBox").append(txt_box);
                id++;
            }
</script>        
		
		





Thursday, 22 February 2018

23:13

PHP Prepared Statements

Note : Prepared statements are very useful against SQL injections.


A prepared statement is a feature used to execute the same (or similar) SQL statements repeatedly with high efficiency.


MySQLi supports the use of anonymous positional placeholder (?), as shown below:

" INSERT INTO counselor(name) VALUES(?) "

Information About Code

Attempt MySQL server connection. Assuming you are running MySQL server with default setting (user 'root' with no password)
Host Name : localhost
Database Name : test
TextBox Name : txtname
Submit Button Name : Save



PHP Code Example #

<?php
if (isset($_GET['Save'])){
if (!empty($_GET['txtname'])) {$n = $_GET['txtname'];
// MySQL server connection.
$c = new mysqli("localhost", "root", "", "test");
// Prepare an insert statement
$q = $c->prepare("insert into counselor(name) values(?)");
// Bind variables to the prepared statement as parameters
 $->bind_param("s", $n);
// Attempt to execute the prepared statement
$q->execute();
//Data Notification 
echo "<br><br>
<div class='container'>
   <div class='alert alert-success alert-dismissable fade show' >
      <button type='button' class='close' data-dismiss='alert'>&times;</button>
      <strong>Data</strong> Enter Successfully...
   </div>
 </div>";
 } else {
//Error Notification 
echo "<br><br>
<div class='container'>
  <div class='alert alert-danger alert-dismissable fade show' >
      <button type='button' class='close' data-dismiss='alert'>&times;</button>
      <strong>Error!</strong> In Data Entry.....
   </div>
</div>";
}
}
?>
                

Html Code Example #

<div class="jumbotron bg-dark text-white">
    <br><br>
    <h1 class="text-center">Prepare Statement</h1>
<br>
<div class="container">
<form method="get" action="#">
<div class="form-group">
<h4>Enter Name </h4>
<input type="text" name="txtname" class="form-control"/>
</div>
<input type="submit" value="Save" name="Save"  class="btn btn-primary btn-block"/>
</form>
</div>
</div>
   


             

Css / Script #

Note : Script Use For Show Notification....
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">

<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>

<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" ></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>

<style>
    input[type=text] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 3px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    }

    input[type=text]:focus {
    border: 3px solid #555;
    transition: 1s;
    }
</style>
<script>

window.setTimeout(function () {
    $(".alert").fadeTo(500, 0).slideUp(500, function () {
        $(this).remove();
    });
}, 3000);

</script>




Layout #


Download PHP file



Thursday, 4 May 2017

16:16

Top 7 SEARCH ENGINES IN THE WORLD

1. Google

Google Search Engine is the best search engine in the world and it is also one of most popular product from Google. Almost 70 percent of Search Engine market has been acquired by Google. The tech giant has always trying to improve the search engine algorithm to provide best results to the end-user.
According to Alexa, google.com is the most visited site in the whole web.


2. Bing

Bing is Microsoft’s answer to Google and it was launched in 2009. Bing is also a good and best search engine. Bing is the default search engine in Microsoft’s web browser. The team behind Bing is always thrive to make it a better search engine but still does not able to give Google a slight competition. This Microsoft’s search engine provides different services including image, web and video search along with maps.


3. Yahoo

Both Yahoo & Bing are not giving competition to Google but giving competition to each other. According to latest report on netmarketshare, Yahoo have a market share of 7.68 percent. Yahoo is still a leader in among most popular free email providers but does not able to convince users in search engine area.


4. Ask.com

Ask.com was previously known ask Ask Jeeves. Its search results are based on question answering web format. It was founded in 1995. In fact, it is a question &  answer community. Here you can get the answers for your question and it integrates a large amount of archive data to answer your question. With ask.com, you will not get as better results you get in Google, Bing and Yahoo.
If their resources don’t have the answer than it takes help from a particular third-party search engine.


5. Excite

Most of us don’t know about a search engine named “Excite”. Even I was unaware about it before got to know while researching about this topic. Excite is an online service portal. It provide internet services like email, search engine, news, instant messaging and weather updates. It was launched in 1995.


6. DuckDuckGo

DuckDuckGo is a popular search engine known for protecting the privacy of the users. In order to generate search results, they have partnered with Yahoo, Bing and Yummly. It was founded back in 2008 by  Gabriel Weinberg. Its revenue come from Yahoo-Bing search alliance network and Affiliates.


7. WolframAlpha

WolframAlpha is computational search engine which does not give list of documents or web pages as search results. But its results are based on facts & data about that query. It’s also called a computational knowledge engine. It was launched in 2009 and based on Mathematica.

VRSAVANI