Welcome Guest, Not a member yet? Register   Sign In
method or function called twice but only with one browser
#1

[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
#2

[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.




Theme © iAndrew 2016 - Forum software by © MyBB