06-19-2009, 03:04 AM
|
#3 (permalink)
|
|
The Contributor
Join Date: Oct 2008
Posts: 75
Thanks: 4
|
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.
|
|
|
|