Use trim() instead of that str_replace and then an if(empty())
On Wed, 21 Aug 2002, Jason wrote:
> I have a simplistic forum, and I am trying to write some code to determine
> if the message box actually contains information, because if it is blank I
> obviously don't want to post it to the data
I have a simplistic forum, and I am trying to write some code to determine
if the message box actually contains information, because if it is blank I
obviously don't want to post it to the database. The message box has the
name of 'reply'. Here is the code I'm trying to use, but its not working:
2 matches
Mail list logo