You are here: Re: [PHP] Question about acessing databases and formatting output « PHP « IT news, forums, messages
Re: [PHP] Question about acessing databases and formatting output

Posted by Bala Chandar on 05/09/05 17:49

Hi,

On 5/9/05, The Doctor <doctor@doctor.nl2k.ab.ca> wrote:
> On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
> > On 5/9/05, bala chandar <mbchandar@gmail.com> wrote:
> > > Hi
> > >
> > > On 5/9/05, The Doctor <doctor@doctor.nl2k.ab.ca> 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@doctor.nl2k.ab.ca> 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@doctor.nl2k.ab.ca> 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
> ?

I think you cannot judge the content of the blob. for text use the
data type text instead of blob

>
> --
> Member - Liberal International
> This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
> God Queen and country! Beware Anti-Christ rising!
> BC, Vote Liberal!!
>


--
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация