Demo Master-Detail

QuestionsDemo Master-Detail
Oliver asked 5 years ago


when I make a page corresponding to the example master-detail I am getting in my detail-table all the fields from the master table at the beginning. I can not find the way to suppress these fields.

Any hints appreciated – thx.

1 Answers
Oliver answered 5 years ago

I think I found the answer:

it is always a good idea to reset all used variables before reusing them!!

For setting the columns I used the variable $cols[] for the master AND the slave. But I did no $cols = array(); before setting the values for the slave table.


Your Answer

17 + 4 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?