Sunday, April 27, 2008

Chapter Seven

We started to really get into php/form scripting and i learned that php is probably as annoying as html. This isn't really a surprise because it basically is html with some if statements and variables. Spelling, syntax, and caps are so important its hard on the soul and mind.

But joking aside, I learned some good stuff on how to evaluate a submitted form using if statements and variables in a php script. I had trouble at first because i was confusing the name and value attributes of an input html tag. I later accidentally erased the variable declarations in my php and couldn't understand why the weren't showing up in echo's.

However i figured it out eventually and fixed my php. I went for a Black/Gray color scheme for my form to emphasize the "secret" aspect of it.

The form is linked from my index and can be found here:

http://people.rit.edu/~rra9933/409/secretform.html

No comments: