Solved

Check URL syntax

Posted on 2008-10-19
2
231 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wordpress Pagination 1 44
Force PDF to open inline as opposed to dowload 16 35
MSSQL - Lock Row from reading by other programs 9 57
$_GET call between URL 3 37
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.  …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

685 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