Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2018-02-19 16:39 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (266 votes). Check out past polls.