Mailinglisten-Archive |
Wenn, dann muß das ganze im PHP aber so heißen:
$result = mysql_query("SELECT id, anrede, firma FROM adress WHERE firma LIKE
'%" . $name . "%' OR ansprech LIKE '%" . $name . "%'");
----- Original Message -----
From: "Harald Krause" <h.krause_(at)_calix.de>
To: <mysql-de_(at)_lists.4t2.com>
Sent: Tuesday, January 23, 2001 8:07 AM
Subject: AW: select / PHP
Hallo,
ich würds mal so probieren:
> $result = mysql_query("SELECT id, anrede, firma, FROM adress
> WHERE firma LIKE '%$name%'
OR ansprech LIKE '%$name%' ");
Grüße
Harald
mailto:h.krause_(at)_calix.de
---
*** Weitere Infos zur Mailingliste und MySQL unter http://www.4t2.com/mysql
---
*** Weitere Infos zur Mailingliste und MySQL unter http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive