What am I doing wrong?


#1

Not sure what I am doing wrong here. I get an error that I need to print out a number?


#2

@ttw6168
Hi, can you do the following so we can better understand your problem:

  • Give us the link to the exercise you're doing
  • Explain what error message you get when you try to save and submit your code
  • Print out the code so we can look at what error you have done

#3

My error is included in the screenshot but I will post again:

I am doing functions, part 1, I get the error " your first strpos() call should output a number"

strpos ("Tiffany", "Tiff");

if (strpos("Tiffany," "h") === false) {
print "No such letter in that name.";
}