Bug #4227 [Fbk->Opn]: Error in the saple code
| From: | damvc at cablenet dot com dot ar | Date: | Tue, 26 Apr 2005 18:35:28 +0000 |
| Subject: | Bug #4227 [Fbk->Opn]: Error in the saple code | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-5965@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=4227&edit=1
ID: 4227
User updated by: damvc at cablenet dot com dot ar
Reported By: damvc at cablenet dot com dot ar
-Status: Feedback
+Status: Open
Type: Bug
Package: Documentation
Operating System: Debian Linux
PHP Version: 5.0.4
New Comment:
The URL is:
http://pear.php.net/manual/en/package.internationalization.translation2.introadmin.php
and the error is in the first sample code too.
Previous Comments:
------------------------------------------------------------------------
[2005-04-26 14:29:14] mj at php dot net
Can you tell use the exact URL where this issue occurs?
------------------------------------------------------------------------
[2005-04-26 14:08:51] damvc at cablenet dot com dot ar
Description:
------------
In "Updating a language" section the sample code is:
<?php
// set some info about the new lang
$langData = array(
'lang_id' => 'en',
'table_name' => 'i18n',
'name' => 'English',
'meta' => 'some updated meta info',
'error_text' => 'this text is not available in English',
'encoding' => 'iso-8859-15');
);
$tr->updateLang($langData);
?>
and de ");" alone in a line near de end is wrong. Remove it.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=4227&edit=1