PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 21st, 2004, 04:26 PM
tuinkle tuinkle is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 2 tuinkle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old July 21st, 2004, 10:31 PM
Cameron Roat Cameron Roat is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 Cameron Roat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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"
You'll obviously need to change "iframe2" to the name of your second iFrame.

Good luck.

Reply With Quote
  #3  
Old July 23rd, 2004, 01:36 AM
tuinkle tuinkle is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 2 tuinkle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks!

Thanks! It's working now!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Talking between 2 iframes, using PHP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway