How do I get the value of an id that is incremental and use it as a foreign key without using set / get? [closed]

1

I have a primary key and needed to use it in another table as FK, how do I insert into the database in a way that does not need to use the set or get modifiers?

    
asked by anonymous 31.07.2015 / 19:40

0 answers