Hi there,
I run a query and collect all the data in a two dimensional array. How can i pass that array over a link....
Here is the structure of my code :
$sql = "select ........ ";
$res = pg_exec($conn,$sql)
while($row = @pg_fetch_array($res,$tick++)) {
$planner_list[] = array("customer_id" => $row["customer_id"],
"customer" => $row["customer"],
.....
...
);
}
<a href="display_results.php?result=<?=$planner_list?>" >
It does not do it for me - when i later check the URL - it comes up as
http://dev.xyz.com/diplay_results.php?result=Array
It means that i donot get anything in the result array.
I would realy appreciate your help if you could let me know how to pass the array over a link
Thank you
Viv