Re: interbase + php

From: Date: Tue, 02 Mar 2004 15:30:34 +0000
Subject: Re: interbase + php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179258@lists.php.net to get a copy of this message
Why don't you use base64_encode and base64_decode functions ? It will take about 33% more space but will be SQL and PHP safe . "Markus Ecker" <markus.ecker@students.fh-vorarlberg.ac.at> wrote in message news:20040302151227.65538.qmail@pb1.pair.com... > hi all!! > > i have the problem that i want to put an image into a firebird database. the > problem is that when i copy the code of the image into my sql syntax, the > code contains ' and " and then php thinks that this is the end of the sql > statement, although this is just data of the image. > > is there another method how i can put images into a database??? > > what are the functions ibase_blob_create good for?? > > many thanks > greets > markus

« previous php.general (#179258) next »