Page 1 of 1

I need help with databases

Posted: Sun Oct 02, 2005 9:59 am
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

Posted: Sun Oct 02, 2005 12:47 pm
by feyd
goes away when you reload what?

Posted: Sun Oct 02, 2005 4:16 pm
by word32
when i reload the page

Posted: Sun Oct 02, 2005 5:50 pm
by feyd
which page?

Posted: Mon Oct 03, 2005 6:31 pm
by word32
the page it is posted on

Posted: Mon Oct 03, 2005 6:37 pm
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.