gpt4 book ai didi

PHP echo 禁用我的按钮?

转载 作者:行者123 更新时间:2023-11-29 09:18:34 25 4
gpt4 key购买 nike

我创建了一个专门用于提交惩罚上诉的按钮。

这是页面:oldserver.net/button/lookup.php?id=80

它没有像它应该的那样工作...我在lookup.php的主文件中包含了test.php,但它根本不起作用。搜索查询工作得很好。这是 javascript 无法正常工作。所以我不知道如何修复它,我通过“include(”js.html”);在test.php中包含了javascript。

这是我的页面上没有它的工作:http://oldserver.net/button/test.php

我想做的是让 test.php 在我的页面上运行并具有吸引力。我想在模板上执行此操作,我可以将 MySQL 数据添加到类似于自动填充的模板中。这样他们就可以复制模板,然后访问我的网站并提交。

您知道按钮无法正常工作的原因是什么吗?

这是我在第一个中的内容。

while($row=mysql_fetch_array($result)){

$offender=$row['xxxx'];
$enforcer=$row['xxxx'];
$purpose=$row['xxxx'];

//-display the result of the array

echo "<ul>\n";
echo "<li>Username: " . $xxxx . "</li>\n";
echo "<li><font color=\"green\"><i>Moderated by: " . $xxxx . "</i></font></li>\n";
echo "<li><font color=\"red\">Reason for moderation: " . $xxxx . "</font></li>\n";
echo "</ul>";
include("test.php");

这就是 test.php 中的内容

<title>Test The search</title>
<?php
include("js.html");
include("config.php");
?>

Js.html 只包含 javascript 的函数,

这是 config.php ->

<input "type="button" value="Submit an Appeal" id="button1" onclick="executeAll();"/>
<input "type="button" value="Send Appeal" id="button2" style="visibility:hidden" onclick="window.open('http://oldserver.net')"/><br>
<textarea id="app" style="visibility:hidden" onclick="select_all();">...Template... </textarea><br>
<div id="instructions" style="display:none"><i>Copy this appeal then click send<i></div>
<小时/>

有人知道这是怎么回事吗?请帮助我。

非常感谢您的考虑、耐心和宝贵的时间。 =)

最佳答案

也许type="button"而不是"type="button"可以解决问题?

关于PHP echo 禁用我的按钮?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3126639/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com