PHP’s array functions such as array_values() and array_key_exists() can be used on an object if the obje
PHP’s array functions such as array_values() and array_key_exists() can be used on an object if
the object…
In a typical web application the most used database action is…
In a typical web application the most used database action is…
which of the following actions?
The function mysqli_affected_rows() can be used to perform which of the following actions?
(Choose 2)
What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?
What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?
Which function will remove the value 28 from $a?
Given the following array:
<code>
$a = array(28, 15, 77, 43);
</code>
Which function will remove the value 28 from $a?
Which of the following pieces of code will properly assign $year, $month and $day with their respective values
You want to extract the pieces of a date string, which looks like this:
“2005-11-02”. Which of the following pieces of code will properly assign $year,
$month and $day with their respective values?
What is the file locking mode that should be used when writing to a file?
What is the file locking mode that should be used when writing to a file?
What is the output of the following code? <code> 1 <?php 2 for ($i = 0; $i < 1.02; $i += 0.17) { 3
What is the output of the following code?
<code>
1 <?php
2 for ($i = 0; $i < 1.02; $i += 0.17) {
3 $a[$i] = $i;
4 }
5 echo count($a);
6 ?>
</code>
The_____________ function is used to replace the current session id with the new session id, and to keep infor
Fill in the blank with the appropriate PHP function.
The_____________ function is used to replace the current session id with the new session id, and
to keep information of the current session.
Which of the following SQL statements will she use to accomplish this?
Celina works as a Database Administrator for Tech Mart Inc. The company uses an Oracle
database. The database contains a table named Employees. Following is the structure of the
table:
EmpID NUMBER (5) PRIMARY KEY
EmpName VARCHAR2 (35) NOT NULL
Salary NUMBER (9, 2) NOT NULL
Commission NUMBER (4, 2)
ManagerName VARCHAR2 (25)
ManagerID NUMBER (5)
Celina wants to display the names of employees and their managers, using a self join. Which of
the following SQL statements will she use to accomplish this?
Each correct answer represents a complete solution. Choose two.