Re: Add text to one table in database
| From: | Deryck Henson | Date: | Sun, 16 Sep 2001 21:46:04 +0000 |
| Subject: | Re: Add text to one table in database | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12490@lists.php.net to get a copy of this message | ||
Use this SQL Statement:
sqlinsert = "INSERT INTO table3 (column1, column2) VALUES ('value1',
'value2')"
Do what you want with the forms.
sqlinsert = "INSERT INTO table3 (col1, col2) VALUES ('"$datastring1"',
'"$datastring2"')"
Hope that helps
- Deryck H
- http://www.comp-u-exchange.com
----- Original Message -----
From: "Nagasea" <nagasea@kaskus.com>
To: <php-db@lists.php.net>
Sent: Sunday, September 16, 2001 4:38 PM
Subject: [PHP-DB] Add text to one table in database
> I had 1 database with 3 table inside.
> And Now I want to add text thru a form in browser to the last table (table
number 3).
>
> anybody here can tell me ?
>
> _____________________________________________________________
> www.kaskus.com - FREE EMAIL SERVICE
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net