[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-doc
Subject:    [PEAR-DOC] [PEAR-BUG] Bug #4227 [Fbk->Opn]: Error in the saple code
From:       "damvc at cablenet dot com dot ar" <pear-doc () lists ! php ! net>
Date:       2005-04-26 18:35:28
Message-ID: 20050426183528.98287.qmail () pb12 ! pair ! com
[Download RAW message or body]

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

-- 
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic