Mailinglisten-Archive |
Björn Schotte wrote: > > * Arash Yalpani wrote: > > zeile 1 $query = "DELETE FROM sessions WHERE sid='$this->c_sid'"; > > $query = "DELETE FROM sessions WHERE sid='".$this->c_sid."'"; Nein, ' verhindert die Interpretation der Variablen nur, wenn es "außen steht". $vorname = "Ulf"; $text = "Vorname: '$vorname'"; echo $text; => Vorname: 'Ulf' $text = 'Vorname: "$ulf"'; echo $text; => Vorname: "$ulf" Ulf
php::bar PHP Wiki - Listenarchive