Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

Check URL syntax

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
rcleon
Asked:
rcleon
1 Solution
 
rcleonAuthor Commented:
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
 
Steve BinkCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now