in reply to weird DBI error re: parameter binding

Try adding some actual error handling to your code... You really ought to have some regex or other verifying the content of $date before you pass it off to execute. You've done nothing to prove to me that $date has a valid value in it.

Update: Bah! Why on earth would people mod down my comment? We know absolutely nothing from his post what is contained in $data, and his assumptions about it may very well be the root of his problems.

  • Comment on Re: weird DBI error re: parameter binding

Replies are listed 'Best First'.
Re: Re: weird DBI error re: parameter binding
by Grygonos (Chaplain) on Jul 30, 2003 at 17:11 UTC
    The file is one line... I made the file. It contains 06/25/2003 I also tried it as 2003-06-25 I printed it out from the script as well..
    *06/25/2003*
    was the output generated when I added print "*".$date."*";after the file read. Any more questions?