Hmmm... :-) practice makes master...
Okay thanks, will try it. I just looked at all the examples which had
type-dependent quotes.
you just need to look at the right things at the right time I guess
Thnx again
Jiri
> -----Original Message-----
> From: Christian Mack [SMTP:Mack@stripped]
> Sent: Friday, March 12, 1999 9:08 PM
> To: Jiri Cuypers
> Cc: mysql@stripped
> Subject: Re: field types needed from mysql database
>
> Jiri Cuypers wrote:
> >
> > Hi,
> >
> > I'm writing a dynamic form handler, which dumps the form data into
> the
> > correct fields of a database.
> > I still need a way to find out which type a particular field has in
> the
> > database, in order to know whether I need quotes or not when i do an
> > insert into.
> >
> > I'm using perl 5.004 with DBI::MySql and apache.
> >
> > thanks in advance.
> > Jiri
>
> Hi Jiri
>
> Why don't you always quote?
> MySQL has an internal conversion of types.
>
> Tschau
> Christian