On Fri, 21 Apr 2000, ALASTAIR JOHN TAYLOR wrote:
> --------------------------------------------------------------
> $querytwo = "select timetwo from times where racer='$name'";
> $resulttwo = $conn->exec($querytwo);
>
> $total = $result + $resulttwo;
What is it you think this is supposed to be doing? You are adding the
dereferenced values of these references to get a third reference? The
values of $result and $resulttwo aren't what you think they are. They
don't hold the actual value of a query, just a reference to the tuples
returned from the query. You still need to 'fecth' those results out,
even if you only have one row returned.
Brett W. McCoy
http://www.chapelperilous.net
---------------------------------------------------------------------------
When I first arrived in this country I had only fifteen cents in my pocket
and a willingness to compromise.
-- Weber cartoon caption