Received: from silver.quicksprint.com.au ([203.101.39.11]) by hub.org (8.10.1/8.11.0) with ESMTP id e9IBeBW40733 for ; Wed, 18 Oct 2000 07:40:11 -0400 (EDT) (envelope-from tomcat@weirdness.com) Received: from tomcat.designmagick.com (max1-ppp20.syd.quicksprint.com.au [203.101.39.49]) by silver.quicksprint.com.au (Rockliffe SMTPRA 4.2.4) with ESMTP id ; Wed, 18 Oct 2000 22:37:58 +1000 Message-Id: <4.3.2.7.2.20001018224002.00ab4610@mail.pharm.usyd.edu.au> X-Sender: tomcat@mail.pharm.usyd.edu.au X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 18 Oct 2000 22:41:53 +1000 To: Dave Perkins From: Chris Subject: Re: files, php & pgsql Cc: pgsql-php@hub.org In-Reply-To: <3.0.6.32.20001018071750.007aa450@shell1.shore.net> References: <4.3.2.7.2.20001018185338.00a9fcb0@mail.pharm.usyd.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200010/28 X-Sequence-Number: 43 Hey, >Putting the quoted string all on one line as in: > >$sql = "insert into images (picnum, image) values >(nextval('images_picnum_seq'),'$loid')"; I think that's how I've got it, it might've just been bad line wrapping. My main problem is with the retrieval of files from the database :/ Thanks anyway :) Chris.