FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Please help my crappy php skills need help

 


The-Master
Sorry about my bad orgainisation of the code. I am used to it!
Code:
<?php
 $choice = rand(0, 3); $strings[] = "If I told you, you hava a gorgeous figure would you hold it against me."; $heights[] = 21; $strings[] = "After heat killed bad germs, where do they go? Obviously not in heaven, since they've been bad. Surely then can't go to hell, for the heat would kill them again."; $heights[] = 33 $strings[] = "So tell me, are those cookies made with real Girl Scouts?"; $heights[] = 21; readfile($images[$choice]); ?>

I have based this off of slight knowledge of php but I really dont have a clue. I want an image to say one of the random phrases:

"If I told you, you hava a gorgeous figure would you hold it against me."
"After heat killed bad germs, where do they go? Obviously not in heaven, since they've been bad. Surely then can't go to hell, for the heat would kill them again."
"So tell me, are those cookies made with real Girl Scouts?"


So what have I done wrong
Crying or Very sad
hexkid
The-Master wrote:
So what have I done wrong

You're missing a semicolon at (or very near) column 322.
MrBaseball34
Yes after:
Code:

$heights[] = 33
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.