Warning: preg_replace_callback(): Requires argument 2, '$func['entity_fix']('\2')', to be a valid callback in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3
Problem with healer.php
DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • September 21, 2019, 10:10:59 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Problem with healer.php  (Read 2077 times)
0 Members and 1 Guest are viewing this topic.
gnr4ever
Militia
**
Offline Offline

Posts: 13


View Profile WWW
« on: June 07, 2014, 12:21:01 PM »

Hello.

I'm translating the game in Spanish , and translate the healer 's hut from the code (for problems with the translation tool in that area) passed me the following:
PHP Error Message

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/******/public_html/healer.php on line 33



Free Web Hosting



PHP Error Message

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRI NG in /home/***/public_html/healer.php on line 33


the code:

Code:
if ($session['user']['hitpoints'] < $session['user']['maxhitpoints']){
output("\"`6Saludos, valiente. Te han herido en el bosque? Hmmm, veo que si...`3\");
output("\"`6Bien, yo estoy dispuesto a curarte, solo si tu ests dispuesto a pagarme.`3\"`n`n");

Thanks!
Logged
Maverick
Captain of the Guard
***
Offline Offline

Posts: 122


View Profile
« Reply #1 on: June 07, 2014, 12:45:18 PM »

You're forgetting a second quotation at the end of the first output();.
Logged
gnr4ever
Militia
**
Offline Offline

Posts: 13


View Profile WWW
« Reply #2 on: June 07, 2014, 02:03:01 PM »

oh , thank you!
I'm very stupid hahaha
Logged
Aeolus
Mod God
*****
Offline Offline

Posts: 1934


You're welcome.


View Profile WWW
« Reply #3 on: June 07, 2014, 09:04:09 PM »

oh , thank you!
I'm very stupid hahaha

Not stupid, just a beginner - we all were once! Grin
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
72 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search