There is no problem here. You are seeing
resource(3) of type (odbc result)
because that's the type of object that $rs
actually is (and var_dump
is telling you that). According to the PHP documentation, odbc_exec
...
Returns an ODBC result identifier if the SQL command was executed successfully, or FALSE on error.
(ref: here). $rs
is not FALSE
, so the INSERT encountered no errors. (At least none that PHP knows about, anyway....)