phpbar.de logo

Mailinglisten-Archive

Re: select / PHP
Archiv Mailingliste mysql-de

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

Re: select / PHP



hi
 
> $result  =  mysql_query("SELECT id, anrede, firma, FROM adress
>              WHERE firma LIKE '%$name%'
>              OR WHERE ansprech LIKE '%$name%' ");

versuchs mal mir einem WHERE
$result  =  mysql_query("SELECT id, anrede, firma,ansprech FROM adress
              WHERE firma LIKE '%$name%'
              OR ansprech LIKE '%$name%' ");

UNTESTED !!!

cu
tobias

---
*** Weitere Infos zur Mailingliste und MySQL unter http://www.4t2.com/mysql 


Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive