Lecture 7 - ServerSideScripting II Flashcards
1
Q
What does the date() function do?
A
Returns the value for the current date on the server
2
Q
What does htmlspecialchars() do?
A
Converts special characters to special character entities
3
Q
What does empty() do?
A
In a form, returns a value of TRUE if input control is empty or is 0
4
Q
What does isset() do?
A
In a form, returns a value of TRUE if variable has a value, event if 0
5
Q
What does is_numeric() do?
A
In a form, returns a value of TRUE if variable has a valid numeric
value