Hello,
I was wondering if anyone could help me with a little problem with the Pg
module - I've looked at the manual, but I can't work it out.....
------------------------------------------------------------
$conn = Pg::connectdb("host=...................");
$query = "select timeone from times where racer='$name'";
$result = $conn->exec($query);
$result->print(stdout, ..............);
------------------------------------------------------------
The above code works without any problem, as it should, and prints out a
value, but as soon as I try to add another query/result I get problems...
ie.
--------------------------------------------------------------
$querytwo = "select timetwo from times where racer='$name'";
$resulttwo = $conn->exec($querytwo);
$total = $result + $resulttwo;
$total->print(stout,..........);
--------------------------------------------------------------
I know the problem comes in with the addition of pointers, but I'm at a
dead-end.
Any suggestions?
Thanks in advance, Alastair