Ok heres my script right now but its not working like it should
if ($row = mysql_fetch_array($result)) {
if (stristr ('#', $row["name"])) {
print "Check out our new part here";}
else {
print $row["id"];
print (" ");
print $row["name"];
print (" ");
print $row["value"];
print (" ");
print $row["dorder"];
print ("<p>");
} while($row = mysql_fetch_array($result));
}else {print "Sorry, no records were found!";}
what happens when a string contains a # is it not only prints what its supposed to but it prints the other stuff after, but it also prints the stuff below is it because i use two if statements?