Welcome to ShawnAllison.com!


"I Have Not Failed. I've Just Found 10,000 Ways That Won't Work." - Thomas A. Edison
June 30, 2007

That can explain my current PHP work. I'm currently working on a page that will display the names from a database and a checkbox that denotes if a person is subscribed to a mailing list or not. After working with code and posssibly inserting JAVAScript to only make an update if a checkbox changes from the loaded status, I found out that PHP will assigned a checked box the value of on if you don't assign it a value in the HTML code. *Smile* That was the break I needed for my code. Using it, I was able to determine which boxes changed values from the initial values displayed and created the code to only update those that changed in status. It's a big deal for me. This exercise also exposed me to arrays in PHP and understanding them. In short: the page I was developing works. *Smile* I now have the basis for at least 2 pages of my project developed. *Smile* Once I get these test pages developed, reusing the code and adapting it for my project should not be too hard.

[♪ Listening to: "I Wanna Be Free" - The Monkees]

Posted by Shawn at June 30, 2007 1:14 PM in Geek.