Programming the Hard Way?
| From: | [ rswfire ] | Date: | Sun, 28 Jan 2001 04:12:45 +0000 |
| Subject: | Programming the Hard Way? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-37084@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?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com