Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Cannot redeclare emoji_docomo_to_unified() #15

Closed
inxomnyaa opened this issue Aug 17, 2015 · 0 comments
Closed

Error Cannot redeclare emoji_docomo_to_unified() #15

inxomnyaa opened this issue Aug 17, 2015 · 0 comments

Comments

@inxomnyaa
Copy link

I downloaded and included it.. all i did was:

include('php-emoji-master/emoji.php');

at top of the document and

while ($ergebnis->fetch())
{
for($i=0;$i<count($badword);$i++){if(strtolower($result['name'])==$badword[$i])$result['name']='Honk :o)';$result['text']=str_ireplace($badword[$i],'***',$result['text']);}$result['text']=str_ireplace('pbadwordword','password',$result['text']);
$result['text']=filterbburl(make_clickable(emoji_unified_to_html(filter($result['text']))));
print($result['text']);
}

Fatal error: Cannot redeclare emoji_docomo_to_unified() (previously declared in C:\inetpub\wwwroot\de_DE\chat\php-emoji-master\emoji.php:2055) in C:\inetpub\wwwroot\de_DE\chat\php-emoji-master\emoji.php on line 30

Any way to get around this? I need to have the loop, $result['text'] is the text in my database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant