Bug #4227 [NEW]: Error in the saple code
| From: | damvc at cablenet dot com dot ar | Date: | Tue, 26 Apr 2005 18:08:51 +0000 |
| Subject: | Bug #4227 [NEW]: Error in the saple code | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5963@lists.php.net to get a copy of this message | ||
From: damvc at cablenet dot com dot ar
Operating system: Debian Linux
PHP version: 5.0.4
Package: Documentation
Bug Type: Bug
Bug description: Error in the saple code
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 bug report at http://pear.php.net/bugs/bug.php?id=4227&edit=1
--