Yes! that's what it was. I guess I had the "height" column as (int) in my database. When I changed it to varchar it worked.
Also, I changed the "Print" to "echo" cuz it looks a lot better.
Guys, thanks again for your time.
But is there some kind of variable that needs to be places in mysql_real_escape_string?
The same thing keeps happening. 5'5" becomes in the display table. But the...
Hm. its still not working. I'll give you the code. When I submit 5'6" for example, it only shows the 5. Also, whenever I refresh the page, 0's appear across the board as if that is what I submitted....
Great, thanks. I thought I had to use mysql_real_escape_string, but I wasn't sure how.
Thankfully this is all for test sites so I can become familiar with php/html/java before doing anything final,...
I am trying to put height into mysql database table through an entry made in php. All other fields, name, age, etc. work fine, but when it comes to putting height in the foot-inch format (5'6") there...
I am trying to make it so the height input must all be numbers and the special characters " and ' . I had an entire form with a Name and Age verification, but since I messed with the height...