1.The only special character that has given me a problem is the ampersand, so I have restricted my translation to that one character rather than use a shotgun htmlentities() function approach.
惟一為我?guī)?lái)問(wèn)題的一個(gè)特殊字符是 and符號(hào),所以我只需處理該字符而沒(méi)有采用htmlentities()函數(shù)的方式。
2.You can stack those up by simply adding an ampersand (&) between successive name/value pairs, like this: name=jennifer&job=president.
只需簡(jiǎn)單地在連續(xù)的名稱/值對(duì)之間添加一個(gè) “與” 符號(hào)(&),即可將其放在一起,就像這樣:name=jennifer&job=president。
3.The ampersand identifies the parameter as the holder of a code block.
該符號(hào)將參數(shù)識(shí)別為代碼塊的持有者。
4.To set up an entity, create a name for it, and type it within your content, starting with an ampersand (&) and ending with a semicolon (;)—for example, &coname; (or whatever you name it).
為了設(shè)置實(shí)體,必須先為它創(chuàng)建一個(gè)名稱,然后將它輸入到內(nèi)容中,以and 符號(hào)(&)開(kāi)始,并以分號(hào)(;)結(jié)束 —例如,&coname;。