Thanx. I actually figured it out right after i posted this. I will do better research next time before i post something.
On Dec 16, 3:20 pm, Grant Cox <[EMAIL PROTECTED]> wrote: > var $primaryKey = 'prj_id'; > > in your model file. > > On Dec 17, 7:51 am, situator <[EMAIL PROTECTED]> wrote: > > > I am in trying to make the edit page of my app to call the field name > > 'prj_id' as opposed to 'id' in the WHERE clause. There is no 'id', it > > is only 'prj_id'. I need the read() and other functions to, when > > calling a query to the 'projects' table, say "...WHERE 'prj_id' = 18" > > instead of "...WHERE 'id' = 18". Hope this makes sense. > > > Situator --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
