Here is my schema:

   trivia_scores:
     _attributes: { phpName: triviaScores }
     id:
     username: varchar(128)
     score: varchar(10)
     last_level: varchar(10)

Thanks for your help!

Cindy

On Oct 13, 2008, at 8:13 AM, Yuretsz wrote:

> Show me schema
>
> On Mon, Oct 13, 2008 at 2:37 PM, Cindy Cullen <[EMAIL PROTECTED] 
> > wrote:
> I've tried it both ways - I can make it either, but currently it is  
> set to varchar.
>
> On Oct 13, 2008, at 5:17 AM, Yuretsz wrote:
>
>>  Your Score field is iteger or varchar?
>>
>> On Mon, Oct 13, 2008 at 5:49 AM, Cindy Cullen <[EMAIL PROTECTED] 
>> > wrote:
>>
>> I'm using PropelFinder and I need to order my results numerically:
>>
>> $this->scores = sfPropelFinder::from('Scores')- 
>> >orderBy(Score','desc')-
>>  >find();
>>
>> I want them in order numerically - in other words, I want this:
>>
>> 1
>> 750
>> 1500
>>
>> not this:
>>
>> 1
>> 1500
>> 750
>>
>> How do I make the order by use the ABS() function that I can use in
>> MySQL?
>>
>> Thanks!
>>
>> Cindy
>>
>>
>>
>>
>>
>> -- 
>> ============================
>> Regards...
>>
>>
>>
>
>
>
>
>
>
> -- 
> ============================
> Regards...
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
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