Welcome Guest, Not a member yet? Register   Sign In
referencing a $_POST in the controller
#4

[eluser]Rick Jolly[/eluser]
Double quotes around $reference in your sql is invalid. Query bindings or active record is more elegant and safe. Or do this:
Code:
"SELECT * FROM product WHERE idreference='$reference'";


Messages In This Thread
referencing a $_POST in the controller - by El Forum - 11-26-2007, 04:07 PM
referencing a $_POST in the controller - by El Forum - 11-26-2007, 04:12 PM
referencing a $_POST in the controller - by El Forum - 11-26-2007, 06:29 PM
referencing a $_POST in the controller - by El Forum - 11-26-2007, 08:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB