Welcome Guest, Not a member yet? Register   Sign In
How to pass parameter via URL?
#2

[eluser]CroNiX[/eluser]
I dont understand the comma in your sql or what you are trying to do with the 2nd url segment.

I would have written it like:
Code:
<?php
return $this->db->select('id, name')
            ->where('id_zone', $pzone)
            ->get('atw_anu')
            ->result();


Messages In This Thread
How to pass parameter via URL? - by El Forum - 10-13-2009, 02:48 PM
How to pass parameter via URL? - by El Forum - 10-13-2009, 02:59 PM
How to pass parameter via URL? - by El Forum - 10-13-2009, 03:03 PM
How to pass parameter via URL? - by El Forum - 10-13-2009, 03:14 PM
How to pass parameter via URL? - by El Forum - 10-13-2009, 03:25 PM
How to pass parameter via URL? - by El Forum - 10-13-2009, 03:29 PM
How to pass parameter via URL? - by El Forum - 10-13-2009, 03:36 PM
How to pass parameter via URL? - by El Forum - 10-13-2009, 05:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB