i have a table MODULES containing fields:
id
name
review_id

and another table REVIEWS containing fields:
id
reviewtext

i would like that when a new module is created the review_id is auto
incremented and a new record in the review table created with that new
review_id as its primary id key. how can i do this? thanks


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to