Demo Master-Detail

QuestionsDemo Master-Detail
Oliver asked 9 years ago

Hello,

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.
Oliver

1 Answers
Oliver answered 9 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.

HTH
Oliver

Your Answer

18 + 13 =

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?