Hi All,

when I do a 

    $str="abc                                 ";
    $sth=$dbh->prepare("INSERT INTO test (x) values ( ? )");
    $sth->bind_param(1,$str);
    $sth->execute;

the string will be cutted off to "abc".
is there a way to switch off this -feature-  ?
i dont want any strings to be trimmed.

I know about $str=$dbh->quote($str);
but I want something globally, not only for one string.


Thanks for Help!

Harald




Reply via email to