IF !CONTAINS ()...

Explanation
Evaluates true or false, whether or not a string DOES NOT contain the specified value.

Usage:
<!--if !contains($test,$what)--> display this <!--end if-->

Example(s)
<!--if !contains($telephone,937)--> The telephone number does NOT contain 937 <!--end if-->

Checks the value of $telephone and if the variable does not contain ‘937’ then it displays the message to the screen.

Back To Contents