What's wrong with this snippet of code??

Hi,

One of my website’s page’s forms, actually displays the word “form” on it, and it does not belong there. Its from the code being incorrect, but I can not figure it out. I am sure it is a simple fix. Any ideas?

Thanks if you can help!!

:slight_smile:

Here’s a link of my screen shot to show what I am talking about

Image and video hosting by TinyPic
Here’s the code:

[php]

List Your Property

<?php if($session->read('flash')){ ?>
<?php echo $session->read('flash');$session->del('flash'); ?>

<?php }?>
			<div class="AddPropertyGrid"> Provide Basic Information About Property </div>
            <!--<div class="AddPropertyGridCenter">-->
                <div class="propertyinptouterDologin">
                    <div class="middleRgtListPropertyContainerLeft">Property Headline :</div>

                    <div class="middleRgtPropertyNameContainerRight">	
						<div class="textboxfldNew">
                            <?php echo  $form->input('Property.name',array('label'=>'','div'=>'','class'=>'required', 'size' => '34'));	?>					</div>                            
                    </div>
                </div>

                <div class="propertyinptouterDologin">[/php]

OK. I fixed the error…wohoo!..There was no error in that snippet…It was actually where I was not expecting it to be.

I used Chrome-and inspect element to delete and adjust some code to see the live changes to figure out what
was wrong. It worked like a charm :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service