Thinkcage

Hi. I'm Jason Zimdars a web designer in Oklahoma City, OK and this is my website.

PHP Starter Kit

A friend is just getting started with PHP. Like me, he’s not a coder by nature so I thought giving him the benefits of what I’d learned might help. I also thought it might help other people out there so I’m offering it here as a free download.

The PHP sites that I have built in the past – it’s been awhile – all were of the simple database read/write variety. So once I had cobbled together a simple set of db connection, add, edit, remove, list, view scripts I had a quick framework to start my projects. That’s what this set is. It has all the basic scripts you need to make a simple site with fairly verbose comments indicating what the various parts do. I left the SQL queries in there, but you’ll have to make your own based upon your application. Maybe in the future I’ll add a MySql script and instructions for setting this up as a working app – that might make a more valid example. Still if you’re reasonably experience in some other scripting language, this should be enough for you to figure out what it’s doing and how to make it do what you want. I’m primarily a designer, so “coding” for me often consists of finding basic scripts, putting them together, and hacking together an application. If you work that way, this is the file for you.

Happy coding!

Download my PHP Starter Kit.

9 Responses to “PHP Starter Kit”

  1. Chad Says:

    You are a good friend.

  2. Venus Says:

    Hello,

    Thanks for your help!Is it possible to have a small description regarding the database because I have added MYSQL (defined database in the PHPMYADMin)but it won’t work properly.

    Thanks,
    Venus

  3. JZ Says:

    Well, as I said in the post, I didn’t do a very good job of documenting the DB side. But here are some bits that might help:

    First, you’ll need to change the database info to match yours in the file at includes/connect.php. This is the generic script that gets called by every page that queries the DB. But requiring it as an include we only have to write it once.

    Next, you’ll need to create a table in your DB that matches the queries. I replaced the ZIP file above with a new version that has an SQL script for creating a DB. Even if you don’t know how to do that, it’s pretty easy to read the field names and types.

    I’ve also updated the PHP files so now it should operate if you setup the DB correctly.

    Just download the new version of the starter kit ZIP file above.

    Good Luck.

  4. Php Sql Scripts Says:

    found your site on del.icio.us today and really liked it.. i bookmarked it and will be back to check it out some more later ..

  5. gyncdynchoisy Says:

    Complimenti per l\idea della descrizione dell\appendicectomia. Davvero simpatico il sito!
    Bravo!
    arrolladora banda el la limon
    chat iscrizione
    amp69 com
    yahoo fantasy baseball

  6. Applebees Menu Says:

    I must say that you provide genuine, quality information. Thanks for this!

    BTW, dpn’t you think your blog needs a better wordpress template?

  7. Emily Says:

    I never ever post but this time I will,Thanks alot for the great blog.

  8. Writer positions Says:

    Hi, well done site. Want to get money for blogging? Check out: http://bit.ly/PaidWriting

  9. Apple iPad Says:

    excellant writing, you deserve a free iPad: http://bit.ly/freeipad6

PHP Starter Kit

A set of example scripts that might make a good head start to your first application.

Leave a Reply