The usual problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux