On 8/5/2011 12:08 PM, Marc Fromm wrote:
> 
> I have to sql statements in functions to use in my code. Even though the echo 
> statements show the sql is valid the sql does not seem to execute and I get 
> the error, "PHP Warning:  pg_fetch_object() expects parameter 1 to be 
> resource, boolean given in . . . line 154 . . ."
> Line 154: while($val = pg_fetch_object($student))
> 

$conn is not in scope

> 
> Marc Fromm
> Information Technology Specialist II
> Financial Aid Department
> Western Washington University
> Phone: 360-650-3351
> Fax:   360-788-0251
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to