[SOLVED] Creating a table in a database...easy question

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
joetheeskimo5
Forum Commoner
Posts: 43
Joined: Sun Dec 14, 2003 4:47 pm
Location: US
Contact:

[SOLVED] Creating a table in a database...easy question

Post by joetheeskimo5 »

This is getting annoying. I've been going through my PHP book, but it doesn't cleanly tell me HOW TO MAKE A MYSQL TABLE! could someone give me the code to create a table please?

Joe
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Well, MySQL (or any SQL for that matter) really isn't a PHP thing. If you need more information on creating tables in MySQL, try mysql.com. You can also google for the information.

If you've never done this before, you may want to read a tutorial on SQL basics. Things like schema, setting up tables, field types, and normalization.
Google and alltheweb.com could easily find things relating to the above mentioned for you.

Cheers,
BDKR
User avatar
liljester
Forum Contributor
Posts: 400
Joined: Tue May 20, 2003 4:49 pm

Post by liljester »

Although i think you still need to learn to do it oldskool, here is a killer tool for mysql administration on your webserver:
http://www.phpmyadmin.net
joetheeskimo5
Forum Commoner
Posts: 43
Joined: Sun Dec 14, 2003 4:47 pm
Location: US
Contact:

Post by joetheeskimo5 »

woops, just found out how to. My hosting already comes with phpMyAdmin, btw.

You can close this thread if wanted.
Post Reply