Welcome Guest, Not a member yet? Register   Sign In
Query not executed on Internet Explorer 7
#1

[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




Theme © iAndrew 2016 - Forum software by © MyBB