I need help with databases

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
word32
Forum Commoner
Posts: 27
Joined: Sun May 29, 2005 5:07 pm

I need help with databases

Post by word32 »

hi! i have a php MYsql enabled server and need to know how to make a databas for this spicific thing. i have two pages.

on one, it has:

Code: Select all

<form action="page2.php" method="post">
<input type="text" name="field" size="20">
<input type="submit" value="Submit">
</form>
and on the other it has:

Code: Select all

<?
echo $_POST['field'];
?>
and so it posts data that i say on one and puts it on two. put it goes away when i reload. so, i assume i need a data base.

how would i make this database (like, chmod and all thoes othre words i have no clue what are meant by)?

thanks in advance,
-apivs
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

goes away when you reload what?
word32
Forum Commoner
Posts: 27
Joined: Sun May 29, 2005 5:07 pm

Post by word32 »

when i reload the page
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

which page?
word32
Forum Commoner
Posts: 27
Joined: Sun May 29, 2005 5:07 pm

Post by word32 »

the page it is posted on
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

word32, appears, to not know anything about storing info in a DB, thus is looking for a tutorial.

Try this one: http://www.zend.com/php/beginners/php101-1.php

Start from the beginning.
Post Reply