Jump to content

Trying to Understand Some Code


sofcare

Recommended Posts

Hi All,

I'm trying to understand the following code.  I tried to display the field 'eligible' (an added field to a mysql table) for user input, but I keep getting an Invalid Type error at getFieldHTML('eligible').  Other fields are displayed correctly using the same syntax.  Is getFieldHtml a class, etc?  I'm sort of new to php..but I'm a quick learner...Thanks for any help! 8)

Chris

 

<div class="form-container">

    <?php echo $form->getFormOpenHTML(); ?>

        <fieldset class="hidden">

            <ol>

                <li>Are you eligible?<?php echo $form->getFieldHTML('eligible'); ?></li>

Link to comment
https://forums.phpfreaks.com/topic/220393-trying-to-understand-some-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.