RE: mysql data truncation does not cause an error to be thrown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Using mysql_query if i try to force more data than a field can have the 
> data is truncated yet no error is throw at all.
> Is there a way round this ?
> Cheers
> 
> Andy

This isn't exactly what you want to hear, but how about validating your input before submitting a query?

_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux