CodeIgniter Forums

Full Version: method or function called twice but only with one browser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]GabrieleMartino[/eluser]
Hello everybody,

I have a function in my method 'enter'

Code:
$this->chats_model->add_message(...);

called twice with Mozilla or 1 with others browser. It should be executed once instead I have two records

in the database. With Chromium and Konqueror works fine.

Thanks for help

El Forum

[eluser]GabrieleMartino[/eluser]
I found the solution on another thread,

anyway it was to put the tag

Code:
<meta http-equiv="Content-Type" c charset=utf-8" />

At top of his page.