Bug #2343 [NEW]: Code Errors in the Flexy Docs
| From: | aaron at wormus dot com | Date: | Wed, 15 Sep 2004 19:56:07 +0000 |
| Subject: | Bug #2343 [NEW]: Code Errors in the Flexy Docs | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4836@lists.php.net to get a copy of this message | ||
From: aaron at wormus dot com
Operating system:
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: Code Errors in the Flexy Docs
Description:
------------
The following page has errors in both the parser code and the template
code. It will not run as is.
http://pear.php.net/manual/en/package.html.html-template-flexy.element.html-template-flexy-element.php
Example 31-1
1. There is a ',' missing from the select options array
2. The output command should be $form->outputObject(...
Example 31-2
1. The radio buttons need ID tags or they won't work.
change
<input name="test_radio" type="radio" value="yes">
to
<input name="test_radio" type="radio" id="yes"
value="yes">
Reproduce code:
---------------
http://pear.php.net/manual/en/package.html.html-template-flexy.element.html-template-flexy-element.php
Expected result:
----------------
I expect it to produce the explained output
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=2343&edit=1
--