Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. In PHP, groups of statements that you can execute as a single unit are called

ID: 3902361 • Letter: 1

Question

1. In PHP, groups of statements that you can execute as a single unit are called 2. A is a variable that is declared outside a function and is available to all parts of your program. 3. The statement is used to execute specific programming code if the evaluation of a conditional expression returns a value of TRUE 4. A is a variable that increments or decrements with each iteration of a loop statement. 5. The foreach statement is used to iterate or loop through the elements in a(n) 6 h.l hrcharacters el he computer or interpreter that the character that fóllows it has a special purpose. 7. The function that opens a stream to a text file is called 8. To iterate through the entries in a directory, you open a handle to the directory with the function. function to copy a file with PHP 9. You can use the 10. By default, PHP creates indexed arrays with a starting element of 11. All SQL commands must be terminated by a(n) 12. The S statement is used to select a database. 13. When using the DELETE statement to delete a record, if you omit the null keyword, all records in thetable will be deleted. 14. The function returns the fields in the current row or a value of FALSE when it reaches the last row in the resultset. 15. Which of the following is the correct syntax for a for statement? a. for (Si 0; Si

Explanation / Answer

Below are your answers. If you need any explanation, please let me know in comments. I'll help for sure.

1. Functions are group of statements than can be executed as single unit.
2. Global variable is declared outside a function and accessed by complete program.
3. If statement.
4. counter
5. array
6. Escape characters.
7. fopen()
8. opendir()
9. copy()
10. 0
11. Semicolon(;)
12. Use statement is used to select a database
13. where
14. mysql_fetch_row()
15. a) is correct we use semicolon between for loop not commas