Mailinglisten-Archive |
On Tue, 31 Jul 2001 16:28:40 +0200, "Daniel Cramer"
<cramerpost_(at)_cvosite.de> wrote:
>$input =3D "INSERT INTO bahn (datum1, datum2, kopf, kopf2, text, orttyp,=
ort,
>preistyp,preis, begintyp, begin) VALUES ($datum1, $datum2, $kopf, =
$kopf2,
>$text, $orttyp, $ort, $preistyp, $preis, $begintyp, $begin)";
>$result=3Dmysql_query($input,$db);
>
>Alle Variablen beinhalten Strings. Mir ist nur nicht so ganz klar, warum
>"INSERT TO ..." nicht in mysql_query funktionieren sollte.
... VALUES ('$datum1', '$datum2', '$kopf' ...
HTH, andreas
php::bar PHP Wiki - Listenarchive