phpbar.de logo

Mailinglisten-Archive

[php] PHP/mysql Problem mit "www.domain.de" in Querys??

[php] PHP/mysql Problem mit "www.domain.de" in Querys??

Gerhard Pfeiffer gp_(at)_sun.bnbt.de
Wed, 19 Jul 2000 18:02:19 +0200 (MET DST)


Hallo,

On Wed, 19 Jul 2000, Patrick Schneider wrote:

> $query = "SELECT * from $was WHERE $t_id = '$id';";

$query = "select * from $was where $t_id = '".addslashes($id)."';";
duerfte es tun.

HTH ;)

Ciao,
  Gerhard




php::bar PHP Wiki   -   Listenarchive