FAQ
•
Search
•
User Groups
•
Forum Admins
•
Smilies List
•
Statistics
•
Rules
•
Login
•
Register
H
ome
FAQs
L
inks
N
ews
Online Tools
phpBB
Scripts
T
utorials
A
bout us
C
ontact us
Contribute
Credits
Link to us
PHP: Passing more than 1 variable in a hyperlink
Forum Index
»
Server-Side Coding
Author
Message
craig
Junior WebHelper
Joined: 09 Jul 2002
Posts: 3
Posted: Sun Jul 14, 2002 12:31 pm (21 years, 9 months ago)
hi how do i pass more than one variable in a hyperlink?
so far i have
$date1='2001-06-01';
$date2='2002-06-01';
echo("<a href=\"get_results.php?date1=$date1;date2=$date2\">Click Here</a>");
but this is just making my variable
$date1=2001-06-01;date2=2002-06-01
in get_results.php
How can i pass both of these variables in my hyperlink
Thanks
jayant
Team Member
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
Posted: Sun Jul 14, 2002 12:48 pm (21 years, 9 months ago)
use:
Code:
echo("<a href=\"get_results.php?date1=$date1&date2=$date2\">Click Here</a>");
________________________________
Jayant Kumar
Member of the 4WebHelp Team
Nibble Guru - Computing Queries Demystified
GZip/ Page Compression Test
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Forum Index
»
Server-Side Coding
Jump to:
Select a Forum
» 4WebHelp
Announcements
Our Site: Feedback & Questions
» General
Chit Chat
Freedom2Surf
Advertisements
» Support
General
Website Reviews
Client-Side Coding
Server-Side Coding
Databases
Web Servers
Hosting & Domain Names
Graphics & Flash
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
edit your posts in this forum.
You
cannot
delete your posts in this forum.
You
cannot
vote in polls in this forum.
Page generation time: 0.125926 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB
2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme