473,395 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

set parameters in HTML page for a PHP page

Hi,

I need to set some parameters in an HTML page displayed in a lightbox (fancybox) using an iframe. The calling page is in HTML, here are the parameters to be set:
- 2 text areas named champ1 (messages subject) and zone_email (email to be answered to)
- 1 combo box named "liste1" with 3 choices
- 1 radio buttons zone named "button1" with 3 radios buttons (thus 3 choices)
- 1 checkbox zone named "checkbox" with 2 choices

I need to set these parameters but I also need my PHP contact page to display the various areas already on the page.

I've tried the following syntax:

HTML calling page:
<a href="contact2.php?$champ1=reserver&liste1=brocant e&button1=reservation&checkbox=urgent" class="Style1">Reserver</a>

with no luck as none of the areas are set and display the values.
As I'm not a PHP guru is there somebody to help me on this ?

Is it possible to set these parameters, share them with my PHP and make the PHP page to display the values using the layout I've already set ?



ps: I have to tell that my contact PHP page works well within my host when I click the Contact menu option, with all areas ready to be set by the user.
May 3 '10 #1
1 1951
code green
1,726 Expert 1GB
i don't understand what you mean by HTML parameters.
So looking at the only bit of code you have posted
Expand|Select|Wrap|Line Numbers
  1. <a href="contact2.php?$champ1=reserver&
  2. liste1=brocant e&button1=reservation&
  3. checkbox=urgent" class="Style1">Reserver</a>
  4.  
This won't work in HTML or a HTML file.
it looks like a PHP echo.wouls also fail

A bit more code (not all of it please) or a specific problem would help
May 4 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ravi & Paami | last post by:
After I tried upgrading my php version from 3 to 4, all my code which passes parameters between web pages have stopped working. Not sure what the problem is. Have tried defining the parameters in...
2
by: xxxxyz | last post by:
Hi. Could you tell me the ways in which I can pass the value of a given variable to another Web page? I prefer NOT to use cookies and parameters in the URL. For example I want the user name to...
3
by: JezB | last post by:
I know I can use the querystring mechanism to pass simple parameters to a Page using Response.Redirect, but Im having problems getting this to work using Server.Transfer or Server.Execute - is this...
7
by: Trollpower | last post by:
Hello NG, i need to know how i can pass parameters to the loginpage if i use authentication mode Forms. I need to pass different paramaters, such as a different redirection url, strings and...
2
by: gralexp | last post by:
Hi Guys. I have a problem, and for some reason I have not been able to find an answer on the net. In a nutshell, I have some codes on my page, which I want to change to an appropriate string...
0
by: mallz | last post by:
hi, im my jsp im dividing my page into 3 divisions, using div tag.basically im using tabs. so, on click of each tab, i want to store its id in a variable, because i need to use it later. how can i...
4
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi, just wondering if anyone can provide a brief example of passing parameters from one webpage to another, C# VS2005? I need to pass several selected values of dropdown list boxes to a secondary...
4
by: studentofknowledge | last post by:
I have a local html webform page and I would like to send this data to a local sql database. Is this even possible?
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.