Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] add data from forms to a database From: Joey Smith (joey <email protected>)
Date: 01/15/99

This is very simple.

1) Figure out what database you are using.
2) Read up on the following commands in
the annotated manual at ca.php.net (where
* is the type of db you're using):

*connect
*pconnect
*selectdb
*query (INSERTS and SELECTS are BOTH queries)
*fetch_results
*fetch_array
etc...

In other words, (nicely as possible) RTFM 8).

----- Original Message -----
From: a. otto <andreas.otto <email protected>>
To: <php3 <email protected>>
Sent: Thursday, January 14, 1999 11:23 PM
Subject: [PHP3] add data from forms to a database

>it's a very simple question but i am rather new to php3, so
there will be man
>questions in future...
>
>i have a form on a website and want the inserted data to be
inserted into a
>database.
>so i post the data form the form to a php-file which should
insert the data into
>the database.
>and that is my problem. i don't know how and where to tell the
php-file what to
>insert into the database.
>
>i hope that someone can help me with my little problem.
>
>thanks a lot...
>andreas
>==================================================
>andreas otto
>germany
>icq: 15167843
>email: andreas.otto <email protected>
>web: http://home.alsfeld.netsurf.de/~n0029/
>
>nach paragraph 28 abs. 3 bdsg widerspreche ich
>der nutzung oder uebermittlung meiner daten fuer
>werbezwecke oder markt- und meinungsforschung
>==================================================
>
>--
>PHP 3 Mailing List http://www.php.net/
>To unsubscribe send an empty message to
php3-unsubscribe <email protected>
>To subscribe to the digest list:
php3-digest-subscribe <email protected>
>For help: php3-help <email protected> Archive:
http://www.php.net/mailsearch.php3
>List administrator: zeev <email protected>
>
>--klmonancpglkfeghlmoc
>Content-Disposition: inline; filename="php3.25868"
>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>