Set - 7

Question 11 :

Tools used for drawing ER diagrams.

Answer :

Case Studio
Smart Draw

Question 12 :

How can I know that a variable is a number or not using a JavaScript?

Answer :

Answer 1:
bool is_numeric( mixed var)
Returns TRUE if var is a number or a numeric string, FALSE otherwise. 

Answer 2:
Definition and Usage
The isNaN() function is used to check if a value is not a number. 


Parameter Description
number Required. The value to be tested

Question 13 :

How can we submit from without a submit button?

Answer :

Trigger the JavaScript code on any event ( like onSelect of drop down list box, onfocus, etc ) document.myform.submit(); This will submit the form.

Question 14 :

How many ways can we get the value of current session id? 

Answer :

session_id() returns the session id for the current session.

Question 15 :

How can we destroy the cookie?

Answer :

Set the cookie with a past expiration time.