Re: Programming the Hard Way?

From: Date: Sun, 28 Jan 2001 04:13:37 +0000
Subject: Re: Programming the Hard Way?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37085@lists.php.net to get a copy of this message
> Am I programming the hard way? > > I *always* parse my strings like this... > > mysql_query("SELECT * FROM table WHERE id='".$id."'"); > > Could I just do this? > > mysql_query("SELECT * FROM table WHERE id='$id'"); > > If so, is this compatable across all platforms and versions of PHP? Yes

« previous php.general (#37085) next »