• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to echo CI query?

#1
[eluser]Computerzworld[/eluser]
Hello Friends,
I am having one query with multiple where conditions.And I want to echo that query for checking. How can I echo that query? Please help me. Thanks in advance....

#2
[eluser]ggoforth[/eluser]
give this a shot:

$this->db->last_query()

After you run the query.

#3
[eluser]Computerzworld[/eluser]
thanks for reply...
its very helpful....


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.