- To: "php-db@xxxxxxxxxxxxx" <php-db@xxxxxxxxxxxxx>
- Subject: The usual problem
- From: Mathias Hunskår Furevik <mf@xxxxxxx>
- Date: Mon, 03 May 2004 02:30:49 +0200
- Delivered-to: mailing list php-db@lists.php.net
- Delivered-to: ezmlm-scan-php-db@lists.php.net
- Delivered-to: ezmlm-php-db@lists.php.net
- Organization: root.no
- User-agent: Opera7.23/Win32 M2 build 3227
Whats worng with this?
$sql = "INSERT INTO underskrifter (id, type, navn, epost, tid, ip, domain,
sted) "
. " VALUES ( '', '$_POST[type]', '$_POST[navn]', '$_POST[epost]',
'$tid', '$ip', '$host', '$_POST[sted]' );"
. " ";
mysql_query($sql);
???
First I tryed the usual INSERT syntax, then the one that phpMyAdmin
suggests. None of them works.
-
Mathias
Norway
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[PHP Home]
[PHP Users]
[Postgresql Discussion]
[Kernel Newbies]
[Plagiarism Notes]
[Postgresql]
[Yosemite News]