form name=alipayment action=includes123456epayapiphp method=post target=_blank如何把123456写成变量 提交button type=radio name=type value=wxpayimg src=assetsimgwxpaypng width=30 height=30 button
可以使用PHP代码来将123456写成变量并进行提交。首先,需要在PHP中定义一个变量来存储123456的值,例如:
$variable = "123456";
然后,在HTML表单中使用该变量作为action的值:
<form name=alipayment action="../includes/<?php echo $variable; ?>/epayapi.php" method=post target="_blank">
这样,提交表单时会将变量的值作为目标页面的路径参数。
原文地址: http://www.cveoy.top/t/topic/icbD 著作权归作者所有。请勿转载和采集!