Mailinglisten-Archive |
SORRY !!!
Ich hatte einen TIPP-FEHLER und Gedankenfehler . . .
Jetzt läuft es . (auch mit || statt or)
Danke trotzdem.
Danny
-----Ursprüngliche Nachricht-----
Von: php-admin_(at)_phpcenter.de [mailto:php-admin_(at)_phpcenter.de]Im Auftrag
von Reinhold Jordan
Gesendet: Mittwoch, 10. April 2002 18:44
An: php_(at)_phpcenter.de
Betreff: Re: [php] select - befehl
Hi,
> $sel = mysql_query("select * from $tabelle where (fon_vor1='$nummer1' &&
> fon1='$nummer2') || (fon_vor2='$nummer1' && fon2='$nummer2')");
vielleicht täusche ich mich, aber muß es nicht 'AND' oder 'OR' statt '&&'
oder '||'
heißen?
Gruß, Reinhold
--
Reinhold Jordan
WWW: http://reinhold.bachrain.de Mail: reinhold_(at)_bachrain.de
"Do you pine for the nice days of minix-1.1, when men were men
and wrote their own device drivers?" Linus
--
** http://www.php-center.de **
Die PHP-Liste: mailto: php_(at)_phpcenter.de
http://lists.phpcenter.de/mailman/listinfo/php
php::bar PHP Wiki - Listenarchive