• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.