I used this code from a forum
Expand|Select|Wrap|Line Numbers
- <?php
- if(isset($_GET['test'] && strcmp($_GET['test'],'test') == 0)
- echo 'Test word';
- else
- echo '<a href="?test=test" target="_self">Click for test</a>';
- ?>
Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ',' or ')' in randomword.php
He said i could do it with ajax but well this is what i got to work with