Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/80.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
Html 如何将参数传递给自定义表单textpattern_Html_Textpattern - Fatal编程技术网

Html 如何将参数传递给自定义表单textpattern

Html 如何将参数传递给自定义表单textpattern,html,textpattern,Html,Textpattern,我正在textpattern中构建自定义表单: <a href="<txp:image_url id="" />" rel="lightbox"><img src="<txp:image_url id="" width="" height="" />" /></a> 在代码中调用此表单: <txtp:output_from form="litebox_wihtout_thumb" /> 但我有通行证参数:id、宽

我正在textpattern中构建自定义表单:

<a href="<txp:image_url id="" />" rel="lightbox"><img src="<txp:image_url id="" width="" height="" />" /></a>

在代码中调用此表单:

<txtp:output_from form="litebox_wihtout_thumb" />


但我有通行证参数:id、宽度和高度。怎么做?

我个人通过php处理这个问题,例如

<?php
    $id = "xxx";
    $width = "xxx";
    $height = "xxx";
?>


下一个<代码>

如果有很多图像?所有图像都将具有相同的id。但id对于每个图像都是唯一的,在SQL中保存“id”的位置是什么?