" in a string?

DaMaster0

Member
How do you put quotes(") in a string, which uses those to surround it? I'm trying my first relay override script to make a council link in the top menu, but i'm having a problem.
Code:
results = insert(results, 1261, "<a target=mainpane href="council.php">council</a>");
I want to put council.php in quotes, but when I do that, it's thinking I want to end my previous quote. What should I do to fix this??
 

mredge73

Member
I think you will need to use the / if front of the quote.
I cannot remember is it is /" or //" so try that.
 

Alhifar

Member
Actually, it's \", thus:
Code:
results = insert(results, 1261, "<a target=mainpane href=\"council.php\">council</a>");
 
Top