You want to set the form method in post and action to / uc/zend.php when you are using the Zend_Form class. Which of the following code snippets will you use to accomplish the task?
Which of the following joins will you use to display data that do not have an exact match in the column?
You run the following PHP script:
$name = mysql_real_escape_string($_POST["name"]);
$password = mysql_real_escape_string($_POST["password"]);
?>
What is the use of the mysql_real_ escape_string() function in the above script. Each correct answer represents a complete solution. Choose all that apply.
You have been given the following PHP script:
1.
2. $xmlstring = << 3. 4. 5. 6. 7. 8.
9.
10. XML;
11. $xml = new SimpleXMLElement($xmlstring);
12. foreach($xml->children() as $child)
13. {
14.
15. }
16. ?>
Which of the following code snippets will you insert at line number 14 to get the following output?