Author |
Message |
Archi
|
Posted: Tue Sep 09, 2003 10:16 am Post subject: Setting Up A Database and Forms |
|
|
I'm using IBServer which seems to be alright...I've been able to make a few *.php files and see what they look like. THe only question I have now, is how can I set-up and store information into my database? And also at the same time make a way so people can sign up for my game?.
Also, how can I make forms where the data then is placed into the necessary spots in the database?
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
PaddyLong
|
Posted: Tue Sep 09, 2003 11:09 am Post subject: (No subject) |
|
|
looking at the php manual would probably be the best place to start
it's free and available at www.php.net
|
|
|
|
|
|
octopi
|
Posted: Tue Sep 09, 2003 2:10 pm Post subject: (No subject) |
|
|
if you don't have it already get mysql.
www.mysql.com/downloads
|
|
|
|
|
|
Amailer
|
Posted: Tue Sep 09, 2003 4:00 pm Post subject: (No subject) |
|
|
PaddyLong wrote: looking at the php manual would probably be the best place to start
it's free and available at www.php.net
As paddy said, php.net is da best place to get your php info -.-
And...there is also...google.com
|
|
|
|
|
|
Archi
|
Posted: Tue Sep 09, 2003 4:01 pm Post subject: (No subject) |
|
|
I already have mysql but now I need to figure out how to create a database. I'll attach a photo of the mysql screen..
Description: |
|
Filesize: |
69.24 KB |
Viewed: |
15029 Time(s) |
|
Description: |
|
Filesize: |
135.4 KB |
Viewed: |
15015 Time(s) |
|
|
|
|
|
|
|
Homer_simpson
|
|
|
|
|
PaddyLong
|
Posted: Tue Sep 09, 2003 5:00 pm Post subject: (No subject) |
|
|
hmm, probably the easiest way to set up/manage your databases would be to get phpmyadmin ... www.phpmyadmin.net ... just unzip that into a subdir in your htdocs directory and then go to it with your browser
|
|
|
|
|
|
Amailer
|
Posted: Tue Sep 09, 2003 5:05 pm Post subject: (No subject) |
|
|
He already got phpmyadmin -.-
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Archi
|
Posted: Tue Sep 09, 2003 5:06 pm Post subject: (No subject) |
|
|
I have myphp or w/e it is..Thats what the second image is showing u...Or thats a db i created using that i guess:S
|
|
|
|
|
|
octopi
|
Posted: Tue Sep 09, 2003 8:39 pm Post subject: (No subject) |
|
|
You have created a database, and now you need to create a table.
Such as 'users', or whatever you want to store.
Enter the name for the table, and the number of feilds in the table.
Follow the directions on phpmyadmin, or on google
|
|
|
|
|
|
Archi
|
Posted: Wed Sep 10, 2003 12:24 am Post subject: (No subject) |
|
|
Well what do the fields mean???
|
|
|
|
|
|
octopi
|
Posted: Wed Sep 10, 2003 12:28 am Post subject: (No subject) |
|
|
Well.....its up to you...
If you were to make a table named users. You would need the following.
ID
Username
Password
Id I usually make INT(11), username varchar(255), password varchar(255)
|
|
|
|
|
|
Amailer
|
Posted: Wed Sep 10, 2003 7:45 am Post subject: (No subject) |
|
|
You gatta read some stuff on MySQL and PHP before starting ;S
|
|
|
|
|
|
|