Solved

Check URL syntax

Posted on 2008-10-19
2
222 Views
Last Modified: 2013-12-13
It's this the proper syntax to forward the UID to two diferent pages?

<a href="../home.php?UID=<?= $EmpInfo->UID ?>&../BarChart.php?UID=<?= $EmpInfo->UID ?>" target="_blank">View</a>
0
Comment
Question by:rcleon
2 Comments
 

Author Comment

by:rcleon
ID: 22754603
Maybe the better question is how can I pass information to two diferent pages I need to pass the UID to Home and BarChat all from the same Href is that posible?
Thanks
Rafael
0
 
LVL 50

Accepted Solution

by:
Steve Bink earned 500 total points
ID: 22758117
You can't forward to two pages at once.  When the user clicks on a link, it will request that *single* URL.

If you need a data point to persist across several pages, you'll need to use a cookie or a session variable.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now