hi all..i had problem here..hope someone can help me..
i`ve create a db that contains several tables. myproblem now the foreign key doesnt parallel with primary key. i had create table named form which form_id is the PK..then table named register which id is the PM.i put form_id in table register as FK..however the number of PK n FK not parallel which when i key in data,the PK generate number but FK yet 0.same goes when i key in more data..FK still 0.what the problem actually??FYI,
table form
form_id as PK
cat_id
event_title
event_venue
form_details
form_date
table register
id as PK,
form_id as FK
name
email
contact
mate
comment
what i plan to do after this is goin to GET data from table register according to the form_id.
ca somebody help me??
have greatday