note 74614 deleted from function.filter-var by bjori
| From: | bjori@php.net | Date: | Fri, 20 Apr 2007 09:21:49 +0000 |
| Subject: | note 74614 deleted from function.filter-var by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125606@lists.php.net to get a copy of this message | ||
Note Submitter: hyperwyrm
Reason: bad code
----
think this will be better:
$getID = 0 + $_GET['id'];
$sql = 'SELECT * FROM myTable WHERE id = '.$getID;