Tips & Tutorials – PHP

AJAX PHP MySQL Dependent Dropdown List (Step-By-Step Example)

Welcome to a tutorial on how to create a dependent dropdown list using AJAX, PHP, and MySQL. Loading dropdown options from the database is pretty easy, but how do we “link” many of these together? Let us walk through an example – Read on! ⓘ I have included a zip file with all the source …

AJAX PHP MySQL Dependent Dropdown List (Step-By-Step Example) Read More »

Upload Multiple Files In PHP (Very Simple Example)

Welcome to a quick tutorial on how to upload multiple files in PHP. So you want to create an upload form that accepts multiple files at once? To upload multiple files in PHP: Set the HTML form to accept multiple files. <form action=”UP.PHP” enctype=”multipart/form-data”> <input type=”file” name=”up[]” multiple required/> <input type=”submit” value=”Upload File”/> </form> Loop …

Upload Multiple Files In PHP (Very Simple Example) Read More »