Thread
:
checking string for '
View Single Post
06-28-2002, 11:14 PM
PM User
|
#
7
Thejavaman1
New Coder
Join Date: Jun 2002
Location: Stuck in the inner reaches of my mind
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
or just
PHP Code:
if(
strstr
(
$string_to_search
,
"'"
)){
//Yup, they typed it.
}else{
//Nope, they didn't type it.
}
because not false is the same as true...
__________________
Projects I work on:
http://www.devnet.info
,
http://www.mybboard.com
Forums I visit:
http://www.nemesis.thecoldshop.com
,
http://www.the-pit.net
,
http://www.hardforum.com
,
http://www.genmay.com
Thejavaman1
View Public Profile
Visit Thejavaman1's homepage!
Find More Posts by Thejavaman1