我有n個鏈接,每個鏈接都有自己的關(guān)鍵字。我想一次在php中顯示兩個鏈接。有什么建議嗎?這是輸入示例:$text[1] = "<a href=https://www.website.ext/post-1/>words 1</a>";$text[2] = "<a href=https://www.website.ext/post-2/>words 2</a>";$text[3] = "<a href=https://www.website.ext/post-3/>words 3</a>";$text[4] = "<a href=https://www.website.ext/post-4/>words 4</a>";$text[5] = "<a href=https://www.website.ext/post-5/>words 5</a>"....輸出示例:words 1words 3orwords 5words 2orwords 4words 1
兩鏈接隨機php
慕桂英3389331
2021-04-28 13:24:51