Posts for Tag : PHP

Populating Multi-Select Boxes From Your DB Using an All-in-One PHP Form 5

*Author's note: this post has been updated and rewritten as of Nov. 8 based on comments in the comment section. So you have a database that you want to enter information into via a form and you want the form to have a multi-select box that both gets populated from your database and will have the associated data to an entry pre-populated when you edit an entry. It would look something like this in new entry mode: and something like this in 'Edit' mode: This tutorial is designed to teach you three Read More

Arrays, Foreach, & Explode…Oh My! 1

So since the other cool kids in my class are blogging their progress I thought maybe I should do the same. I figure it would also be a good way to track what I've done, what I have left to do and keep track of some of the places where I found my code. Up until last week I've felt very behind the rest of my classmates. While they were already playing with data sets that already existed (and this does not mean they had it easier than me as Jeri's post can attest to) I had to first figure out how to Read More