I get a blank page for my add page in the blog tutorial. I have no idea
why. Here is the code:
<h1>Add Post</h1><form method="post" action="<?php echo
$html->url('/posts/add')?>"><p>
Title:
<?php echo $html->input('Post/title', array('size' => '40'))?>
<?php echo $html->tagErrorMsg('Post/title', 'Title is
required.') ?></p><p>
Body:
<?php echo $html->textarea('Post/body', array('rows'=>'10')) ?>
<?php echo $html->tagErrorMsg('Post/body', 'Body is required.')
?></p><p>
<?php echo $html->submit('Save') ?></p></form>
I am not sure why it does not display the form fields in either safari
or firefox 1.5 everything else is working fine up to this point, and
this code does not generate an error so it would seem to be a logic
error some where.
Also, I added some html outside the form tags and nothing showed up.
Thanks,
Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---