On Fri, Aug 29, 2008 at 2:28 AM, Alex 'noetix' Joyce
<[EMAIL PROTECTED]> wrote:

> I'm trying to use symfony with an existing database. One table has column
> names that start with integers.
>
> Parse error: syntax error, unexpected T_LNUMBER, expecting T_STRING in
> /www/signups/lib/model/om/BasePlanVoicePeer.php on line 86
>
> const 13NUMBER_RATE = 'plans_voice.13NUMBER_RATE';

A PHP constant cannot start with a number: http://fr.php.net/constants

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to