PrepAway - Latest Free Exam Questions & Answers

Which of the following code snippets will you use to accomplish the task?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
<?php
$form->setAction(‘/uc/zend.php’)
->setMethod(‘post’);

B.
<?php
echo “<form action=\”/uc/zend.php \” method=POST>”;

C.
<?php
$form->(‘/uc/zend.php’)
->(‘post’);

D.
<?php
$form->Zend::setAction(‘/uc/zend.php’)
->Zend::setMethod(‘post’);

Explanation:

One Comment on “Which of the following code snippets will you use to accomplish the task?


Leave a Reply

Your email address will not be published. Required fields are marked *