Page 1 of 1

need a little help.....

Posted: Sun Mar 01, 2009 2:19 am
by maze027
Good day experts.... i am a new member of this great forum.... the problem is I am being ask by my professor to have a grading system using PHP and MySQL..... but i really don't know how to connect the database to the said scripting language..... and also SQL statements are difficult for me to do and understand.... can anyone guide me???? thanks in advance....

Re: need a little help.....

Posted: Mon Mar 02, 2009 8:08 pm
by omniuni
Hi Maze, sorry it took some time to get back to you.

First, a great reference is http://tizag.com . They have tutorials on PHP and on SQL, and a bit more.

Depending on how much complexity you need, there may be other ways to achieve your goals with PHP. One of the great things about PHP is its flexibility.

First, you may find it simpler to use SQLite. I like using SQLite, because it is pretty fast, reasonably powerful, and it just "connects" to whatever file you tell it to. There's no database server or password, or login. You just tell it where the database is, and it works. Unless you're going to be making a grading system that serves the entire school (and it would have to be a rather large school) SQLite should work nicely.

Here's a pretty decent tutorial to start you off. This is one of the ones I used when I was first beginning.
http://www.litewebsite.com/?c=49

Good luck! Post again if you have any questions.

Re: need a little help.....

Posted: Tue Mar 03, 2009 2:26 am
by maze027
hi there... thanks for the site that you have given to me.... im gonna use it for my projects....