Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/281.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 获取handlebar模板的渲染值并将其放入PHP变量中 不要将代码作为图像发布。将代码复制/粘贴到问题本身。编辑它以删除图像。没有意义。php在服务器上运行,而js在php完成并将页面发送到browserIt的php模板(在Wordpress站点上)后_Javascript_Php_Sql_Wordpress_Handlebars.js - Fatal编程技术网

Javascript 获取handlebar模板的渲染值并将其放入PHP变量中 不要将代码作为图像发布。将代码复制/粘贴到问题本身。编辑它以删除图像。没有意义。php在服务器上运行,而js在php完成并将页面发送到browserIt的php模板(在Wordpress站点上)后

Javascript 获取handlebar模板的渲染值并将其放入PHP变量中 不要将代码作为图像发布。将代码复制/粘贴到问题本身。编辑它以删除图像。没有意义。php在服务器上运行,而js在php完成并将页面发送到browserIt的php模板(在Wordpress站点上)后,javascript,php,sql,wordpress,handlebars.js,Javascript,Php,Sql,Wordpress,Handlebars.js,获取handlebar模板的渲染值并将其放入PHP变量中 不要将代码作为图像发布。将代码复制/粘贴到问题本身。编辑它以删除图像。没有意义。php在服务器上运行,而js在php完成并将页面发送到browserIt的php模板(在Wordpress站点上)后很久才在浏览器中运行。 <script type="text/template" id="ae-profile-loop"> <?php //This helper snippet takes the JS variable

获取handlebar模板的渲染值并将其放入PHP变量中


不要将代码作为图像发布。将代码复制/粘贴到问题本身。编辑它以删除图像。没有意义。php在服务器上运行,而js在php完成并将页面发送到browserIt的php模板(在Wordpress站点上)后很久才在浏览器中运行。
<script type="text/template" id="ae-profile-loop">

<?php
//This helper snippet takes the JS variables and stores them into the current PHP context
$current_post_ID = "{{= ID }}";
$current_author_ID = "{{= post_author }}";...