Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: num_rows() problem in the count_all_results
Post: RE: num_rows() problem in the count_all_results

php_rocs Wrote: (02-07-2019, 08:22 AM) -- @CodeArt, Try using this... https://www.codeigniter.com/user_guide/database/queries.html#handling-errors -- Thanks, I using this, and works fine with si...
3,697 Views
4 Replies
02-07-2019, 09:11 AM
CodeArt
    Thread: num_rows() problem in the count_all_results
Post: RE: num_rows() problem in the count_all_results

php_rocs Wrote: (02-06-2019, 07:35 PM) -- @CodeArt, Why would you want an dynamic variable to return an invalid column name?  Why don't you validate that the dynamic variable is a column name then...
3,697 Views
4 Replies
02-07-2019, 02:15 AM
CodeArt
    Thread: num_rows() problem in the count_all_results
Post: num_rows() problem in the count_all_results

Hi guys, I use the count_all_result function, and if I set a non existent column name in WHERE clause, then throw an error. In the WHERE clause have dynamic column name, so incorrect column names ...
3,697 Views
4 Replies
02-06-2019, 08:46 AM
CodeArt

Theme © iAndrew 2016 - Forum software by © MyBB