Code: Select all
$stuff = array('Hello', 'Hacker', 'Cracker', 'Goat', 'Movie', 'Girl', 'Sad');
$is = stristr($stuff, 'S');
echo $is;Moderator: General Moderators
Code: Select all
$stuff = array('Hello', 'Hacker', 'Cracker', 'Goat', 'Movie', 'Girl', 'Sad');
$is = stristr($stuff, 'S');
echo $is;Code: Select all
<?php
$is = stristr($stuff[6], 'S');
?>