using $data in callback

Questionsusing $data in callback
Georges asked 3 weeks ago

Hi

 

Please,

how to get my Id (Idp) in $data ? I can see Idp when I print $Data but I can’t get it!

Array ( [Idp] => 262 [params] => Array ( [Idp] => [Site] => 35 [Elevage] => 3FRMAA07 [Demarrage] => 202501 [NbPoules] => 6000 [AgeEntree] => 20 [AgeSortie] => 70 [Duree] => 51 [Fin] => 202551 [Modele] => 290_62 [ModeleSemaine] => 20 [TypeProd] => [Cloture] => 0 [CahierCharges] => [Alimentation] => 0 [FormuleParDéfaut] => [ConsoJPDéfaut] => 0 ) )

2 Answers
Abu answered 3 weeks ago

It should be:

$data[“Idp”];

And for rest data,

$data[“params”][“Elevage”];

Georges answered 3 weeks ago

Thanks Abu!

Your Answer

16 + 9 =

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?