|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Talking between 2 iframes, using PHP
Hello,
I am developing a website that queries a database. I am using PHP, MSSQL, JavaScript and HTML to accomplish this. My question is: I have 2 iframes on the page. 1 is for the user to choose the type of query that he/she wants, and to press "Submit" after doing so. The 2nd iframe is for the query results. So far I've only been able to output the results on the 1st iframe. How do I pass the information to the 2nd iframe? I would appreciate any help greatly. Thanks. |
|
#2
|
|||
|
|||
|
You can set the form target to point to the second iFrame. In the code for your form (<form>), add the following:
Code:
target="iframe2" Good luck. |
|
#3
|
|||
|
|||
|
Thanks!
Thanks!
It's working now! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Talking between 2 iframes, using PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|