String Functions II YO


#1

Can anybody tell me where i get wrong here? Tbh i just started PHP ill need some time to fit in.Appriciate it



<?php
// Print out the position of a letter that is in
// your own name
echo strpos("Rasa", "s");
?>

<?php
if (strpos("Rasa", "c") === false) {
echo "No C in Rasa";
}
// Check for a false value of a letter that is not
// in your own name and print out an error message

?>
</p>


#2

Found solution.... :smiley:


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.