this is what I keep trying to get at.
the key to make this work is to have a foreign key column in the petdata table that draws the relationship to the users table
when deling with related data, you will encounter 2 diferant types of key columnns:
1) Primary Key - These are used to create a a unique value for each record in the table, every table needs to have one
2) Foreign Key - used in the child table to draw a relationship to another tables primary key.
in your users table, you have a primary key column called id.
you need to create a new column in the petdata table that will draw the relationship of pet to user.
for example sake, lets call this column petUserID
in the Insert Record Behavior, you need to bind the petUserID column to the id session variable. This will relate the pet data to the logged in user.
by using this foreign key column, you will create a one to many relationship and the customer will be able to add multiple ads.