Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Website Design/Showcase (http://www.chiefdelphi.com/forums/forumdisplay.php?f=64)
-   -   MySQL help needed (http://www.chiefdelphi.com/forums/showthread.php?t=38632)

Greg Marra 17-06-2005 23:26

MySQL help needed
 
Does anyone have a nice introduction to MySQL?

I am working on a project, and have decided to move up from flat file databases to the real deal, only now I'm a bit stuck. It could be partly because it's 11:30 at night, but I really don't know anything about MySQL, so I need to teach myself a little.

Anyone with a good tutorial would be appreciated.

jdiwnab 17-06-2005 23:54

Re: MySQL help needed
 
Quote:

Originally Posted by Greg Marra
Does anyone have a nice introduction to MySQL?

I am working on a project, and have decided to move up from flat file databases to the real deal, only now I'm a bit stuck. It could be partly because it's 11:30 at night, but I really don't know anything about MySQL, so I need to teach myself a little.

Anyone with a good tutorial would be appreciated.

This might be to basic for your but I found it very helpful for what little SQL work I needed. I just did a google search for SQL Tutorial and found this.

Adam Richards 18-06-2005 01:18

Re: MySQL help needed
 
I assume that you want a tutorial with MySQL and PHP, so here you go:

http://www.freewebmasterhelp.com/tutorials/phpmysql/1

Matt Adams 18-06-2005 01:47

Re: MySQL help needed
 
Quote:

Originally Posted by Greg Marra
Does anyone have a nice introduction to MySQL?

I am working on a project, and have decided to move up from flat file databases to the real deal, only now I'm a bit stuck. It could be partly because it's 11:30 at night, but I really don't know anything about MySQL, so I need to teach myself a little.

Anyone with a good tutorial would be appreciated.

Greg,

If I had to recommend some books, there are two I've learned a great deal from. I prefer them over free tutorials, because often times, I've found that I need a large number of websites to become even moderately comfortable with broad topics, but a couple of handy books seem to provide everything in one place and even tell me things I didn't know I needed to know (If that makes any sense?) These two titles are around $13 and $22 respectively...

Beginning PHP4 - Despite the title, this book is actually half PHP and half SQL. It definitely gives a good start of the fundamentals, from creating databases, variable types, organizing data, optimizing queries. I have a half dozen tabs indexing what I use most often and it provides a good transition between PHP and MySQL. The examples are pretty practical.

MySQL Cookbook - Once you get things going, this book answers a lot of common, "How do I....?" questions with full examples. If you're doing things quick and dirty and need snippets, this is a great title. I found it to be very useful.

Good luck!

Matt

Ashley Weed 18-06-2005 08:33

Re: MySQL help needed
 
I had an great general database book for one of my courses. The course itself was aimed at MySQL, but also applied to .asp, etc, etc, etc.

Database Management, Databases and Organizations, by Richard T. Watson. I got mine on half.com for a few bucks.

Good Luck

Mike 18-06-2005 22:33

Re: MySQL help needed
 
I pretty much learned PHP / MySQL from this one tutorial, follow it through (even if your purpose isn't to make a membership system), and it should be real easy to pick up the basics and run with it.

http://www.phpfreaks.com/tutorials/40/0.php

PS: Check out the rest of the site too, they have a lot of other good stuff.

Greg Marra 18-06-2005 22:53

Re: MySQL help needed
 
Wow, thanks for the deluge of responses!

I was at Battlecry all day today, but I'll sort through this all tomorrow.

Thanks!

Mike 21-06-2005 15:19

Re: MySQL help needed
 
Quote:

Originally Posted by Greg Marra
Wow, thanks for the deluge of responses!

I was at Battlecry all day today, but I'll sort through this all tomorrow.

Thanks!

No problem, feel free to IM me if you need any help.

evulish 21-06-2005 21:16

Re: MySQL help needed
 
My starting place, and the one I recommend to anyone that asks, would have to be http://dev.mysql.com/doc/mysql/en/tutorial.html There are very few questions that can't be answered in the mySQL docs, and that tutorial is a great starting point. That's pretty much the only site I read when learning mySQL.. I didn't spend any money on books. If you do want a book, O'Reilly (as someone mentioned) has some great books out.

DarkJedi613 24-06-2005 00:26

Re: MySQL help needed
 
Quote:

Originally Posted by evulish
My starting place, and the one I recommend to anyone that asks, would have to be http://dev.mysql.com/doc/mysql/en/tutorial.html There are very few questions that can't be answered in the mySQL docs

That's true, but the documentation is written horribly, its obviously done by people who totally understand it, but I find myself looking up something. Then having to look up multiple other things just to understand what its saying about the original thing I looked up! Bad documentation IMO. :(

I use flat files instead anyway. ;)

Greg Marra 24-06-2005 23:09

Re: MySQL help needed
 
About 6 hours of coding later, it is born!

The 2006 Class Comparer

I'd prefer if you guys didn't add yourselves to see how it works, I'd like to keep it going for real with kids in my school. You can however look around and check out my super-special admin page (which doesn't let you break or delete anything, don't worry). The pieces together all ought to give you an idea how it works. It's nothing fancy, but it's a nice little (useful) project to teach myself PHP/MySQL

JonBell 25-06-2005 00:21

Re: MySQL help needed
 
Quote:

Originally Posted by Greg Marra
It's nothing fancy, but it's a nice little (useful) project to teach myself PHP/MySQL

Actually, it can be really cool if you get a lot of people to input, like the one a friend and i made :P

Ya coulda just asked for a copy of the code :P

Greg Marra 25-06-2005 08:23

Re: MySQL help needed
 
Quote:

Originally Posted by JonBell
Actually, it can be really cool if you get a lot of people to input, like the one a friend and i made :P

Ya coulda just asked for a copy of the code :P

Well I just launched it at 11pm last night, so having 31 people already is pretty good. Your code looks like it does a lot more stuff than mine, and I might borrow some ideas from you, but if you gave me the source then I wouldn't have learned anything! :)

scitobor 617 25-06-2005 09:14

Re: MySQL help needed
 
Great job. A nice feature could be to display what lunch people have if your school has more than one lunch period. I'm invious of your user base, i spent a few months on a coding project and don't have nearly as big of a user base.

P.S. I love your 404 page!

Greg Marra 25-06-2005 12:43

Re: MySQL help needed
 
Quote:

Originally Posted by scitobor 617
Great job. A nice feature could be to display what lunch people have if your school has more than one lunch period. I'm invious of your user base, i spent a few months on a coding project and don't have nearly as big of a user base.

P.S. I love your 404 page!

We don't know our lunches yet, but that's not a bad idea. I probably rushed this a little - I don't have any semester support for half year classes.

Thanks about the 404 page. I wrote it on an airplane flying through like seven time zones, so I was a bit tired.


All times are GMT -5. The time now is 16:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi