<?php $haystack = 'abcda'; $needle = 'a'; $pos = strpos( $needle,$haystack); if (!$pos) { echo "miss"; } else { echo "hit " . $pos; }
You have javascript disabled. You will not be able to edit any code.