Re: Cake and PHP5/PHP6, Base URL in Controllers and FIND QUERY with OR

2009-11-02 Thread AD7six
On 2 nov, 12:47, "Prof. No Time" wrote: > Thanks so so much AD7six, > > Your suggestion of Router::url() worked like magic but for the second > suggestion on the query, I tried it and the debug dump gave me this: > > SELECT `AppSetting`.`id`, `AppSetting`.`name`, `AppSetting`.`value`, > `AppSet

Re: Cake and PHP5/PHP6, Base URL in Controllers and FIND QUERY with OR

2009-11-02 Thread j0n4s.h4rtm...@googlemail.com
You probably did not understand SQL / IN. FOO IN (1,2,3) means FOO can be 1 OR 2 OR 3 or to express it other ways FOO is contained in the list afterwards. While I am not sure which is faster and what the "internal" differences are, the result (should be) is the same. I am not sure if you can en

Re: Cake and PHP5/PHP6, Base URL in Controllers and FIND QUERY with OR

2009-11-02 Thread Prof. No Time
Thanks so so much AD7six, Your suggestion of Router::url() worked like magic but for the second suggestion on the query, I tried it and the debug dump gave me this: SELECT `AppSetting`.`id`, `AppSetting`.`name`, `AppSetting`.`value`, `AppSetting`.`created`, `AppSetting`.`modified` FROM `app_sett

Re: Cake and PHP5/PHP6, Base URL in Controllers and FIND QUERY with OR

2009-11-02 Thread AD7six
On 2 nov, 04:08, "Prof. No Time" wrote: > Please people, I seriously need answers to the following questions. I > need them treated as numbered please. > Regards, > > Questions: > 1. When shall cake PHP be fully PHP 5 compatible and all the PHP 4 OOP > be gone since PHP 5.3 is already throwing

Re: Cake and PHP5/PHP6, Base URL in Controllers and FIND QUERY with OR

2009-11-01 Thread Pedro Nascimento
1. AFAIK CakePHP 2.0 will remove everything related to PHP 4. On Mon, Nov 2, 2009 at 01:08, Prof. No Time wrote: > > Please people, I seriously need answers to the following questions. I > need them treated as numbered please. > Regards, > > Questions: > 1. When shall cake PHP be fully PHP 5 comp

Cake and PHP5/PHP6, Base URL in Controllers and FIND QUERY with OR

2009-11-01 Thread Prof. No Time
Please people, I seriously need answers to the following questions. I need them treated as numbered please. Regards, Questions: 1. When shall cake PHP be fully PHP 5 compatible and all the PHP 4 OOP be gone since PHP 5.3 is already throwing strict faces against some PHP 4 constructs and I really