note 14108 modified in function.pg-loexport by yohgaki
| From: | yohgaki@php.net | Date: | Fri, 07 Dec 2001 13:01:01 +0000 |
| Subject: | note 14108 modified in function.pg-loexport by yohgaki | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21872@lists.php.net to get a copy of this message | ||
I'm using PHP 4.0.5
It would seem the second parameter is not an int, but rather the file name/path for export.
eg.: $result = pg_loexport( $obj_id, "mypic.gif", $dbconn);
If you read the description, you'll find that 'filename' is specified, which
doesn't match up with the definition.
[Editor's Note]
"file" should be "/path/to/filename"
--was--
I'm using PHP 4.0.5
It would seem the second parameter is not an int, but rather the file name/path for export.
eg.: $result = pg_loexport( $obj_id, "mypic.gif", $dbconn);
If you read the description, you'll find that 'filename' is specified, which
doesn't match up with the definition.
[Editor's Note]
"file" should be file handle resource.
http://www.php.net/manual/en/function.pg-loexport.php