[eluser]pshah.mumbai[/eluser]
I am running a query using active record class
Code:
1. $this->db->order_by("id", "desc");
2. $query_result = $this->db->get('logs');
I want to use it with PHP4 so can't use chaining.
Since this is not atomic, I just want to know whether this will it affect if multiple similar statements are running along with it else where in the application.
There is a separation after the 1st statement and web server may run some other similar query (eg : $this->db->order_by("id", "asc");, etc..) before the 2nd statement is executed. Will it affect the output in anyway.
I am bit concerned about this style of coding, or maybe I am doing something wrong here