联系官方销售客服
1835022288
028-61286886
小白请教怎么写SQL语句,看了SQL语句循环,没看懂
{dede:sql sql="SELECT * FROM dede_archives WHERE title LIKE '%关键词1%' and title LIKE '%关键词2%' or title LIKE '%关键词3%' order by weight limit 5"} <li><a href='[field:id runphp='yes'] $id=@me;@me='';$url=GetOneArchive($id);@me=$url['arcurl'];[/field:id]' > <img src="[field:litpic/]" alt="[field:title/]" > <p>[field:title/]</p> </a> </li> {/dede:sql}