General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

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 March 29th, 2015, 04:22 PM
danjde danjde is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2015
Posts: 2 danjde User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 59 sec
Reputation Power: 0
Posting text data value to iframed script php

Hi friends,

I've a simple form that it collects some textual data and sends them to a php script into iframe.


the script send data by:

Code:
<form method="get" action="http://www.byronhotel.it/it/prenotazioni-check">


and the script php take it for example number of adults:

Code:
$adulti=$_GET['adulti'];


but so the php script is unable to obtain data;

could you suggest how I could send to iframe the textual data?

many thanks!


davide
italy

Reply With Quote
  #2  
Old June 2nd, 2017, 05:17 PM
robert4u robert4u is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2017
Posts: 1 robert4u User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 59 sec
Reputation Power: 0
You cannot do it with iframe the reason is both pages are seperate, the solutions is simple:

Code:

<?php
$adulti=$_GET['adulti'];
?>


<form method="get" action="http://www.byronhotel.it/it/prenotazioni-check?$adulti=<?php echo $adulti; ?>">




Reply With Quote
  #3  
Old June 5th, 2017, 02:36 PM
danjde danjde is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2015
Posts: 2 danjde User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 59 sec
Reputation Power: 0
Many thanks for your help!
I will try..

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Posting text data value to iframed script php


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap