Results 1 to 11 of 11
Thread: DB keeps returning the same row
Mar 20, 2012, 05:43 #1
DB keeps returning the same row
I have a problem where no matter what value I pass into my php function below, the same row keeps being returned and its not the row I requested. Has anyone seen anything like this before because I am very confused?
Its such simple MYSQL thats why I don't understand it.
public function getSend($order_id)
$query = $this->dbs->query("SELECT order_id FROM SEND` WHERE order_id ='" . (int)$order_id . "'");
"Persistence is the path to perfection"