My first PHP script

I’ve just started teaching myself PHP. So far I’ve grasped the concept of variables and their use with html forms, at least I think I have.
I’ve written my first script. It’s sorta a madlib, well actually it is a madlib. I didn’t pay close attention to the grammatical correctness of the story it outputs and I also need to go back and comment the script( I forgot ) but I’m very pleased with it.
I wrote the entire script myself except for a javascipt I added for appearance.
I’m still learning so I’m sure I’ll be looking back at it and wondering why I used this array or that function instead of other better ones.
If you want to get a good chuckle by viewing a newbies first script or just really like lame madlibs you can see it here.

Source Code:
(more…)




AUTHOR

  • footerWrite up a little something about yourself here. Something short and sweet, or longer if you'd like.

FLICKR

  • add flickr code here, or delete this and use the widget version.

TWEETS

  • add twitter code here, or delete this and use the widget version.