CodeIgniter Forums
Query not executed on Internet Explorer 7 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Query not executed on Internet Explorer 7 (/showthread.php?tid=10043)



Query not executed on Internet Explorer 7 - El Forum - 07-17-2008

[eluser]Unknown[/eluser]
Hi all,

I have an issue with Internet Explorer. I try to execute a mysql query, in FireFox it works as expected, but in Internet Explorer nothing happens (EDIT: the database doesn't get updated, but all the code is run, the echoes are executed). I am developing on a local environment setup, xampp + PHPeclipse + JSeclipse.

Code:
function do_update() {
        if ($this->uri->segment(3) && $this->uri->segment(4)){
            $sql = "update css_files set file_name = ? where type = ?;";
            if($this->db->query($sql, array($this->uri->segment(3) . '.css', $this->uri->segment(4)))){
                echo $this->uri->segment(3);
                echo $this->uri->segment(4);
            }
        }
    }

Any ideas?

Thanks