Jump to content

Codeacadamy script not working


stargazzn

Recommended Posts

I'm takeing a acadamy online class. I have a simple little script that is not working. After a couple of hours thinking I must have made a mistake I asked this question in their forum. No answer. I think it must be a bug.

 

<?php
// Print out the position of a letter that is in
// your own name
strpos("Robert", "e");
?>
I get an error message saying "strpos() call should output a number".
I hope my first question here is not completely retarded! ;)
Thanks!
Link to comment
Share on other sites

I figured it out! I read that I should visit the tutorials before posting. I didn't know about them before I posted. So I visited and found my problem.

 

I should have guessed. At least now I can move on.

 

Thanks anyway!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...