Welcome Guest, Not a member yet? Register   Sign In
How to view SQL generated by Query Builder?
#5

(This post was last modified: 08-08-2020, 08:44 AM by richb201.)

PHP, good idea to run the query directly. I ran it within phpMyAdmin. Seems I modified one of the columns, qualified from a digit to a string. I had assumed all of the fields set to 1 would convert to "yes". They did not and once I saw that in the phoMyAdmin, it became clear that was the issue. Thx.

Just read through the document you recommended:
>>Also, don't forget that you can use query binding (https://codeigniter.com/user_guide/datab...y-bindings) instead of the query builder.

sounds perfect for my needs. thanks again, Rich
proof that an old dog can learn new tricks
Reply


Messages In This Thread
RE: How to view SQL generated by Query Builder? - by richb201 - 08-07-2020, 09:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB