Hi, I am new to PHP. I want to know how to set the If...Else condition in PHP to see "if the same question is asked twice in a row" and "if the question doesn’t end with a “?”"
Thank you in advance!
for if statement advice: http://us2.php.net/manual/en/language.control-structures.php#control-structures.if
for searching a string: http://us3.php.net/manual/en/function.preg-match.php