本文介绍了

问题描述

我有一个从 mysql 数据库中提取并使用while"语句显示的数据列表;这一切都很好.

当用户单击电子邮件"链接时,显示的项目之一旁边会出现一个弹出表单,其中包含通过电子邮件将项目详细信息发送给朋友的想法.

现在这一切都很好,但我似乎无法在按下链接时将正确的项目数据发送到表单.我猜这可能是因为它在

非常感谢任何帮助,S.

(下面精简代码)

';}?><div id="sheet" class="rounded"><!--{{{ pane1 --><div class="pane" id="pane1"><h4>通过电子邮件将房产详情发送给朋友</h4><p>您已选择转发 <?给朋友.</p><p>请填写以下表格</p><form class="rounded" id="email-form" method="post" action="<?

<!--}}}-->

解决方案

应该

<? 应该是

还有其他地方.您需要将值回显到输出 (HTML) :)

I hava a list of data pulled in from a mysql database and displayed using the 'while' statement; which all works great.

When a user clicks on the 'email' link, next to one of the displayed items, a popup form appears, with the idea of emailing/sending the item details to a friend.

Now this all works great, but I can't seem to send the correct items' data to the form when the link is pressed. I'm guessing it could be because it's outside of the

Any help greatly appreciated, S.

(stripped down code below)

<?
解决方案
<?

Should be

<?

<? should be <?

And everywhere else.You need to echo the value to the output (HTML) :)

这篇关于

11-02 12:30