Re: [PHP] values from text boxes

2001-03-23 Thread Richard Lynch
> do I have to cast values from text boxes into ints? Not usually, because PHP and MySQL take care of converting for you, 99.% of the time. But what you get from a FORM (or a GET URL) are all strings. The HTTP spec doesn't have any way to distinguish one data type from another. It's all st

[PHP] values from text boxes

2001-03-18 Thread Dennis Gearon
do I have to cast values from text boxes into ints? If so, it's wierd, because I have taken the values from text inputs before and just put them into insert string statements for mysql. It turned them into ints just fine. I use the following code to MAKE a table of input boxes on the screen, and