Jump to content

An Unexpected End


Recommended Posts

Hi have tried to write a code myself and i have an unexpected end. God knows if it would work i hope it does made it similar to one in a tutorial.

<html><head><tittle> Roll Em!</title></head><body><h1> Button song!!</h1><?print verse();function verse($bodypart) {switch ($bodypart) {	case 1:	$bodypart = "right hand";break;	case 2:	$bodypart = "left foot";break;case 3:	$bodypart = "left hand";break;case 3:	$bodypart = "right foot";break;default:	$bodypart = "ran out";}$output =<<<HEREHey! My name is Jo<br>And I work in a button factory<br>I have a husband, three kids, and a family.<br>One day my boss came up to me.<br>He said "Jo, are you busy?"<br>I said,"No"<br>He said to "push this button with your right hand"<br>HERE;return $output;?></body></html>

Thanks for looking gary

Link to comment
Share on other sites


Edited by chibineku
Link to comment
Share on other sites

  • 3 weeks later...

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...