A little bit of everything…
RSS icon Home icon
  • Saving multiple selections from drop down list to database

    phpThis post will teach you how to process and store multiple selections from a form element into a MySQL database, using PHP. In order to understand how it works, you will need basic knowledge of PHP arrays, because they’re necessary for achieving the results.

    If you still don’t know what arrays are and how do they work, read Tizag’s array tutorial first.

    Read the rest of this entry »

  • Refreshing DIV content with AJAX (multiple DIVs)

    AJAXAfter reading the post Refreshing DIV content with AJAX, you already know how to refresh the content of a DIV in your website with the help of AJAX. But perhaps you want to refresh more than one DIV, and you’ve realised the code in the other post didn’t work! Don’t panic, as a matter of a fact refreshing multiple DIVs is the same process than refreshing a single DIV. I’ve prepared an example and some code so you can see how easy it is. See the working demo here.

    Read the rest of this entry »