I could check the length of the field against the entry data and javascript myself out of trouble but i was more worried that there is no error or message when mysql clearly returns one saying i've truncated this yet php ignores it completely. It should fail or know about the truncation at least !
Cheers for your reply though :-)


Instruct ICC wrote:
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 ?


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!

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to