smarty基础
HTML code<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> <img src="/static/imghwm/default1.png" data-src="head_picture.php?recid=<{$myrow[data].tb_commodity_id}>" class="lazy" alt="smarty基础解决方法" >
问题:
在"head_picture.php?recid="字符串中,取不到值。这个字符串怎么写。
------解决方案--------------------查看源码看是什么结果
------解决方案--------------------附: smarty 自带debug 功能,打开看一下传递的数据即可!
Déclaration:Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn