Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Re: Re: MySQL Blob / DBI quote ?

by cchampion (Curate)
on Dec 20, 2003 at 23:04 UTC ( #316107=note: print w/replies, xml ) Need Help??

in reply to Re: Re: MySQL Blob / DBI quote ?
in thread MySQL Blob / DBI quote ?

Now, previously when the column type was "varchar(255) not null" , this insert code worked fine and all memos were added successfully.

I don't think so. It could not possily work with any value of $memo. For example, you are preparing a query with one placeholder and then you are executing without parameters. And your placeholder is quoted, so it could not work.

Further advice: use strict.

Replies are listed 'Best First'.
Re: Re: Re: Re: MySQL Blob / DBI quote ?
by perleager (Pilgrim) on Dec 21, 2003 at 06:14 UTC
    What do you mean by placeholders? The insert seemed to work fine for me and when I did a little script to view the db, $memo field was inserted fine and printed out fine, with the exception of cutting off 75% of the memo...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://316107]
and one hand claps...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-01-23 19:50 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (194 votes). Check out past polls.