我想要一个搜索框,其中一个人输入一个数字,然后该表单打开一个新页面,其中有一个iframe,iframe的url为http://othersite.com/results.php?id=numbersinputfromsearchbox搜索框将输入发送到新页面上的iframe url
这可能吗?我使用WordPress的PHP/MySQL/Apache/Linux的,如果这可以帮助你回答我。谢谢!!
我想要一个搜索框,其中一个人输入一个数字,然后该表单打开一个新页面,其中有一个iframe,iframe的url为http://othersite.com/results.php?id=numbersinputfromsearchbox搜索框将输入发送到新页面上的iframe url
这可能吗?我使用WordPress的PHP/MySQL/Apache/Linux的,如果这可以帮助你回答我。谢谢!!
<form action="http://othersite.com/results.php?id=numbersblahblah" method="post" target="_blank">
<!-- form fields here -->
<input type="submit" value="Search" />
</form>
是这样的? http://stackoverflow.com/questions/3141189/insert-php-variable-at-the-end-of-url-string-with-an-iframe 对不起,我很新的编程。 – Tim