Category Archives: Technical questions

object Element in HTML5

Use of object element in html5. using for embed an element in an html document.this element support in all browsers.we can embed pdf,flash,java applet etc. see the below example we can change the data=”test.pdf”,data=”pic.jpeg”,data=”hello.html” Note:element also using for embeding pdf,image,flash etc. Eg:,only difference is this element does not have closing tags.

Local Storage and Session Storage in HTML5

Local Storage: in local storage data is storing in the browser its secure and more data can store Local storage data storing in two object 1.window.localStorage 2.window.sessionStorage Local storage data will not be deleted after closing the browser. it will be avaialble in the user browser for ever. Example for Storing local storage. localStorage.myval=’vasanthan’ ;–… Read More »

Fibonacci Series using javascript

MYsql Joins

The join keyword is used in an mysql statement to query data from two or more tables,based on the relationship between certains columns in the tables. Below are the different types of joins with syntax 1.INNER JOIN-Returns rows when there is at least one match in both tables. Eg:select column_names from table_name1 INNER JOIN table_name2… Read More »

Explain DDL,DML,DCL in mysql with Examples

DDL (Data Definition language) statements are used to define the database structure or schema following are the examples. 1.CREATE- To create objects in the database. 2.ALTER- alter the structure of the database. 3.DROP- delete objects from the database 4.TRUNCATE-remove all records from the table,including all the spaces allocated for the records are removed. 5.COMMENT-add comments… Read More »

Ampersand-& spaces are breaking the subject in mailto function

Use the rawurlencode() function to solve this issue. Eg: suppose subject is coming from php scripts

What is noconflict in jquery

What array_walk,array_slice function does

array_walk function will run each array element inside a function see the below examples

array_slice() function will slice the array from one element to other for example