以下代码:
var str= "<strong>English Comprehension<\/strong>
<br\/>
<ul>
<li> Synonyms/Antonyms/Word Meaning (Vocabulary)<\/li>
<li> Complete the Sentence (Grammar)<\/li>
<li> Spot error/Correct sentence (Grammar/sentence construction)<\/li>
<li> Sentence Ordering (Comprehension skills)<\/li>
<li> Questions based on passage (Comprehension skills)<\/li>
<\/ul>
<br\/>";
Run Code Online (Sandbox Code Playgroud)
给出错误:"未终止的字符串文字".有什么问题?
我必须通过PHP代码从db搜索大量数据.我不想给很多db命中.所以我选择了来自db的所有数据进行搜索并尝试将其存储在数组中以进一步搜索不在db上的数组,但问题是数据超出了数组的限制.该怎么办?