This topic is locked
[SOLVED]

 Extract details count

1/31/2010 11:47:52 PM
PHPRunner General questions
R
roadyx author

Hi,
I would like to extract the count for detail records in a master-detail relationship. The count number can be seen in the master list page.
I tried grepping for it from the file and saw this:
$record["Pay_Now_Detail_childnumber"]=$data["Pay_Now_Detail_cnt"];
I tried to use the $data["Pay_Now_Detail_cnt"]; but it returns blank.
How do I grab details count ?
Thanks!

J
Jane 2/2/2010

Hi,
To print all values in the $data array use print_r function:

print_r($data);



Then choose correct value from this array.

R
roadyx author 2/2/2010



Hi,
To print all values in the $data array use print_r function:

print_r($data);



Then choose correct value from this array.


As Always, Thank You Jane!