Lecture 7 - ServerSideScripting II Flashcards

1
Q

What does the date() function do?

A

Returns the value for the current date on the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does htmlspecialchars() do?

A

Converts special characters to special character entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does empty() do?

A

In a form, returns a value of TRUE if input control is empty or is 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does isset() do?

A

In a form, returns a value of TRUE if variable has a value, event if 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does is_numeric() do?

A

In a form, returns a value of TRUE if variable has a valid numeric
value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly