Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
by Jay » Tue Sep 03, 2002 2:10 pm
Try:
PAGE2: <a href="http://www.website.com?id=<?=$_GET['id']?>">click here</a>
-
Jay
-
by Serg4444 » Tue Oct 01, 2002 6:13 am
Yes, u need to use this
<a href="page2.php?id=1"><img src="pic_1.png" /></a>
(also instead id=1 u can put id=$var)
and after that
<a href="http://www.website.com?$id">click here</a>
Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
-
Serg4444
- New php-forum User

-
- Posts: 8
- Joined: Fri Sep 27, 2002 4:01 am
by Jay » Tue Oct 01, 2002 8:21 am
Serg4444 wrote:Yes, u need to use this
<a href="page2.php?id=1"><img src="pic_1.png" /></a>
(also instead id=1 u can put id=$var)
and after that
<a href="http://www.website.com?$id">click here</a>
Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
For an IT programmer you should know better. Your code will product a link as such:
http://www.website.com?1 instead of
http://www.website.com?id=1
-
Jay
-
by Jay » Thu Oct 10, 2002 10:53 pm
You would get an error here:
<FRAME src=\"$row[0]\">
It should be
<FRAME src=\"".$row[0]."\">
-
Jay
-
Return to PHP coding => General
Who is online
Users browsing this forum: Google Feedfetcher and 3 guests