On Mon, 2009-02-02 at 20:35 -0500, Ron Piggott wrote:
> How do I tell if
>
> words_from_the_well
>
> is not the value of $page (whether it is the entire value of $page OR
> within the value of $page)
>
> So far I have come up with the following, but it doesn't deal with when
> $page is only within the value of $page
>
> if ( $page <> "words_from_the_well" ) {
>
> Ron
The <> comparison operator won't work in PHP. What you want maybe is
something like this:
if(!strstr($page, "words_from_the_well"))
{}
Ash
www.ashleysheridan.co.uk