Forum Moderators: coopster

Message Too Old, No Replies

Using get with a link not a form

         

joc85

2:06 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



Hi. I am trying to send variables using get with a link not a form and i have no idea if that's possible basicaly i want to send the path to a picture from my gallery so i have $path and i want to send it to display.php so i can display the right picture. Any hellp is appreciated

ncreegan

2:22 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



Can you show a generalized link to the display page?

ie, mydomain.com/.../display.php?=variable

joc85

3:12 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



The problem is that i need to send more than one variable and i tried that before nad it didn't work for 2 or more variables maybe i did it wrong. :(

niels

4:06 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



Do you mean this?

display.php?path1=$path1&path2=$path2&path3=$path3

And then on display.php

$path1 = $_GET["path1"];
$path2 = $_GET["path1"];
$path3 = $_GET["path1"];

coopster

6:07 pm on Feb 3, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Nice explanation niels. And a warm welcome to WebmasterWorld to both you and joc85.

joc85

6:34 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



Thanks a Lot you guys rock

niels

8:04 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



Glad i could help, im trying to get more involved, no more lurking for me ;)