HTML in String
#1

Hello!
I have an email system on my server. I can use basic HTML tags (<b>, <i>, </ br>, etc.) within strings and works perfectly.
The problem is that when I try to put the following code the pawno returns error:
PHP код:
format(Stringsizeof(String), "<a href="http://www.darkstreetrpg.com.br/" target="_blank" ><img src="https://s20.postimg.org/yvy9av9fh/logo.png" /></a>"); 
Returned error in pawno:
PHP код:
...\Server\gamemodes\GM.pwn(8318) : error 001expected token"-string end-"but found "-identifier-"
...\Server\gamemodes\GM.pwn(8318) : error 029invalid expressionassumed zero
...\Server\gamemodes\GM.pwn(8318) : warning 215expression has no effect
...\Server\gamemodes\GM.pwn(8318) : warning 203symbol is never used"http" 
Any help?
Reply


Messages In This Thread
HTML in String - by JR_Junior - 10.04.2018, 17:34
Re: HTML in String - by RogueDrifter - 10.04.2018, 17:45
Re: HTML in String - by jasperschellekens - 10.04.2018, 17:46
Re: HTML in String - by ExTaZZ69 - 10.04.2018, 17:47
Re: HTML in String - by JR_Junior - 10.04.2018, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)