View Single Post
Old 06-19-2009, 03:04 AM   #3 (permalink)
9three
The Contributor
 
Join Date: Oct 2008
Posts: 75
Thanks: 4
9three is on a distinguished road
Default

Got it. Thank you, I've added the (int).

PHP Code:
$result $mysqli->query("SELECT ID FROM products WHERE ID = '$input_id'"); 
I'm trying to re factor the loops because if I (for example)4,000 items then the function would need to place all those IDs into an array and then sort through it. I would imagine it would slow down the application a lot.
9three is offline  
Reply With Quote