[php]<?php
$value2 = $_POST[‘name’];
if(stristr($value2,shaon))
{
echo “Shaon is present”;
}
else
{
echo “Shaon is absent”;
}
?>[/php]
The above code works fine for me,but i get a notice statement along with the result
Notice: Use of undefined constant shaon - assumed 'shaon' in E:\xampp\htdocs\4test\new.php on line 3 Shaon is absent
How do i get rid of the Notice??