since drizzle_query is already established and I think intended to be
similar to the MySQL functionality for minimal changes during
conversion. I'm personally not sure in the 3 seconds of thought I have
given it how to implement correctly it without the client side knowing
the data type. But feel free to work on this.
PHP knows the type of vars passed.
But, it needs to know the data type in the table. That is why
mysqli_stmt_bind_param takes a type. All variables from input variables
(GET, POST, COOKIES, etc) are strings. Not 1 but "1". So, what PHP knows
about the variable is useless for building an SQL query.
Brian.
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp