CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 [Solved] Include page with parametter

Print topic Send  topic

Author Message
sorinbuda

Posts: 27
Posted: 04/09/2010, 2:59 PM

Hi,

I am trying to include a page like
page.php?m=1 into the page index.php

Unfortunately I am getting an error message.

Any sugestion is welcomed.
Thank you in advance,
Sorin
View profile  Send private message
DonP
Posted: 04/09/2010, 6:02 PM

As far as I recall, you cannot submit any parameters with an Include.
An easy workaround is to save the value as a session, then fetch the
session value as your page loads.

Don (DonP)

sorinbuda wrote:
> Hi,
> I am trying to include a page like
> page.php?m=1
>
> Unfortunately I am getting an error message.
> Any sugestion is welcomed.
> Thank you in advance,
> Sorin
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>
sorinbuda

Posts: 27
Posted: 04/09/2010, 9:43 PM

Endeed,
I have inserted the parametter into the URL of the index.php page.

Works very nice!

Thank you,
Sorin
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.