hey guys,
I am using a form which obtains data from a text field which is checked using php, but once this is in the database does it loose the whitespace as its not counted as a character and if so when outputting it again how can it retain its format?
thanks.
Whitespace are counted as characters. I remember something about old versions of MySQL trimming off whitespace when it should not, but perhaps that does not apply any more. Generally, whatever you put in should be whatever that comes out (taking into account escaped special characters and character encoding).
Thanks again for your help i'm sorry if all these newbie questions are annoying.
The level of help here is amazing, hopefully soon I will know enough to be able to contribute. Keep up the good work 🙂