Solved

Check URL syntax

Posted on 2008-10-19
2
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 51

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

688 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