phpbar.de logo

Mailinglisten-Archive

[php] Abfrage macht mir Kopfzerbrechen

[php] Abfrage macht mir Kopfzerbrechen

Stefan Schiller php_(at)_phpcenter.de
Fri, 6 Jul 2001 21:14:35 +0200


Hallo Andre,

> => $download1 = "select * from $tb_download WHERE abf='10' AND kat_id=$id
> AND typ=$wahl";

try:

$download1 = "select * from '" . $tb_download ."' WHERE abf='10' AND
kat_id='".
		$id . "' AND typ='" . $wahl . "'";


------------------------------------
Stefan Schiller  CORPEX-Support-Team
          stefan_(at)_corpex.de
   >>> http://www.corpex.de <<<



php::bar PHP Wiki   -   Listenarchive