True My Loop, the most useful thing I've made since last week's chicken salad. (Funny story: I included the name of my table in the picture of my loop that used to be here, thereby opening me up to SQL injection and ultimate FAIL. Fortunately, I'm not famous, so no one malicious found it and thought it worth his/her time to destroy my blog content. Yay, humanity? Yay, anonymity? Definitely a yay to the mother of xkcd's Bobby Tables for reminding me of this glaring problem.) Alex Farris
look ma im a REAL hackzorzasaurus | Alex Farris Photo Blog
Alex T Farris
Search the blog


Don't press enter!
Results updated at left
as you type


Random entry
2012.03.16
As Marty McFly said, "If you put your mind to it, you can accomplish anything."

With a lot of help from the World Wide Web Consortium's W3Schools.com and some finesse advice in the archived fora of StackOverflow.com, I've now accomplished what I once thought was too hard for my current skills. I set up a MySQL database on my GoDaddy server space, I figured out the PHP while() loop for the blog's index page (below), and I made a form to both upload my old blog posts to the database and upload new posts and photos to the server. The process is now pretty well streamlined, and while I can still perfect it (show less entries on the first index page, create a strict single-post page, etc.), I am well on my way to some good things here. Stay tuned.

...
...So, there was a picture here.
...It's not here anymore.
...You should read the caption.

My Loop, the most useful thing I've made since last week's chicken salad. (Funny story: I included the name of my table in the picture of my loop that used to be here, thereby opening me up to SQL injection and ultimate FAIL. Fortunately, I'm not famous, so no one malicious found it and thought it worth his/her time to destroy my blog content. Yay, humanity? Yay, anonymity? Definitely a yay to the mother of xkcd's Bobby Tables for reminding me of this glaring problem.)
THINGS WE SAID TODAY Code
HTML Comment Box is loading comments...