Quote:
Originally Posted by KliPPy
Because they probably contain "\n" or "\n\r". Do trim() on the string. Also you can check if the string is empty by doing
PHP Code:
if(Text[0] == 0)
|
Works flawlessly, +karma if that's how karma works.
Note: Your check is equal to mine ( !Text[0] ), what helped was trim(Text);