Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2005051

Re: [PHP] Question about acessing databases and formatting output From: The Doctor (doctor <email protected>)
Date: 05/09/05

On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
> On 5/9/05, bala chandar <mbchandar <email protected>> wrote:
> > Hi
> >
> > On 5/9/05, The Doctor <doctor <email protected>> wrote:
> > > On Sun, May 08, 2005 at 01:49:08PM -0600, The Doctor wrote:
> > > > On Sun, May 08, 2005 at 08:56:25PM +0530, bala chandar wrote:
> > > > > On 5/8/05, The Doctor <doctor <email protected>> wrote:
> > > > > > On Thu, May 05, 2005 at 05:49:38AM -0600, The Doctor wrote:
> > > > > > > On Thu, May 05, 2005 at 10:11:14AM +0530, bala chandar wrote:
> > > > > > > > hi,
> > > > > > > >
> > > > > > > > On 5/5/05, The Doctor <doctor <email protected>> wrote:
> > > > > > > > > This is probably easy, but how does
> > > > > > > > > one access a database, mysql or oracle or postgresql,
> > > > > > > > > and
> > > > > > > > > present the data in a tabular format?
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > >
> > > > > > > >
> > > > > > > > check out http://in2.php.net/mysql
> > > > > > > >
> > > > > > >
> > > > > > > Looks good to me.
> > > > > > >
> > > > > >
> > > > > > So far so good except my blobs are appearing as is instead of
> > > > > > as an interpret item. What next?
> > > > > > > > --
> > > > >
> > > > > what are you storing in BLOB?
> > > > >
> > > >
> > > > First a .tgf and then a jpg.
> >
> hey, check out this. this might help you
>
> http://www.zend.com/zend/trick/tricks-sept-2001.php
>
> http://forum.100megswebhosting.com/archive/index.php/t-2971.html
> >
> > > >
> > >
> > > Is their a way to embed the third column?
> > >
> > > And what changes do I need to make to the php code?
> > >
> >
>

Seems to be correct. Here is what I think:

All the non-blobs are working fine; it is the blobs that are turning up
as text instead of data. Can you not tell the PHP scripts the following:

if a blob then present the data as binary
else
present the text
endif
?

-- 
Member - Liberal International	
This is doctor <email protected>	Ici doctor <email protected>
God Queen and country! Beware Anti-Christ rising!
BC, Vote Liberal!!

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