Solved

Check URL syntax

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSL unsecure page mystery 17 44
Centos webserver sending tons of spam 27 32
PHP MYSQLI Connection in Function in a class 4 28
php non-object 7 25
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to count occurrences of each item in an array.
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…

739 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