If a user enters this in a text area for example:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxetc
It gets inserted into my DB as a long string and when I echo this out from a SQL query it can break the page up. Does anyone know how I can check if a string is that long and contains no spaces? It's basically checking for idiot user input...
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxetc
It gets inserted into my DB as a long string and when I echo this out from a SQL query it can break the page up. Does anyone know how I can check if a string is that long and contains no spaces? It's basically checking for idiot user input...