if (isset($_GET['text'])) /* Check to see if text was sent */
{
$sText=strtolower($_GET['text']); /* Lowercase to ensure comparison on next line works */
if (in_array($sText,array('this','that'))) /* Ensure the value is this or that */
echo '<div class="topbar">'.$_GET['text'].'</div>'; /* Display the original value */
else
die ('Not this or that');
}
else
die('No text');
Im not sure how to or if Im suppose to but this question has been answered and is completed
If you want you can click the "Thanks" button. Otherwise they won't pay me and my family will starve and we'll end up living by the side of the freeway in a leaky cardboard box and then I'll have to go back to robbing banks, or even worse, working for Microsoft (and you wouldn't want THAT on your conscience, would you?).