Posts

Showing posts from May, 2019

select search jquery select option search

Image
https://developers.google.com/speed/libraries/#jquery-ui https://cdnjs.com/libraries/chosen <!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.jquery.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.min.css" /> </head> <body> <select class="chosen">   <option value="volvo">Volvo</option>   <option value="saab">Saab</option>   <option value="o...

php interview

What are various DDL commands in SQL? Give brief description of their purposes.  Following are various DDL or Data Definition Language commands in SQL −   CREATE − it creates a new table, a view of a table, or other object in database.  ALTER − it modifies an existing database object, such as a table.  DROP − it deletes an entire table, a view of a table or other object in the database.  What are various DML commands in SQL? Give brief description of their purposes. Following are various DML or Data Manipulation Language commands in SQL − SELECT − it retrieves certain records from one or more tables.  INSERT − it creates a record. UPDATE − it modifies records.  DELETE − it deletes records.  What are various DCL commands in SQL? Give brief description of their purposes.  Following are various DCL or Data Control Language commands in SQL − GRANT − it gives a privilege to user.  REVOKE − it takes back privileges granted from u...

OOPS

OBJECT-ORIENTED PROGRAMMING IN PHP PHP is a server-side scripting language, mainly used for web development but also used as a general-purpose programming language. Object-Oriented Programming (PHP OOP), is a type of programming language principle added to php5, that helps in building complex, reusable web applications. The Object Oriented concepts in PHP are: Class − This is a programmer-defined data type, which includes local functions as well as local data. You can think of a class as a template for making many instances of the same kind (or class) of object. Object − An individual instance of the data structure defined by a class. You define a class once and then make many objects that belong to it. Objects are also known as instance. Inheritance − When a class is defined by inheriting existing function of a parent class then it is called inheritance. Here child class will inherit all or few member functions and variables of a parent class. Polymorphi...