|
-
Sep 27th, 2004, 10:12 AM
#1
Thread Starter
Addicted Member
PHP Links
Ok i want to make a link but to set a variable or a $_POST variable. Can someone help? ok let me explain futher.
I want a link like.
www.mydomain.com
or a image link like this smilie or something 
now i want it to navigate to the same page but set a variable like $w_link //which would be What_link
now i want $w_link to equal a number like $w_link = 3;
How can i do this
Last edited by AtomSoft; Sep 28th, 2004 at 06:06 PM.
Live to love, Not to hate
-
Sep 27th, 2004, 10:42 AM
#2
Stuck in the 80s
I have no idea what you're talking about. Is the page you are linking to external, or is it one of your own?
-
Sep 27th, 2004, 10:48 AM
#3
Thread Starter
Addicted Member
ok lets say i have 1 page called index.php
now i want to send data to this page from image.php Now i want to send the index.php the below data:
image: someimage.gif
sizeH: 64
sizeW: 128
now i want that info to come from image.php to index.php and i want it in a link not in a form. How do i get this done
Live to love, Not to hate
-
Sep 27th, 2004, 12:03 PM
#4
Thread Starter
Addicted Member
ok since no reply yet does anyone really understand what i want done or need help with? let me show you a sample.
ok maybe you will understand this
<a href="index.php?File=image.gif_64_64">Some Link</a>
something like that but i want the user to be unable to see it. you understand
Live to love, Not to hate
-
Sep 27th, 2004, 12:34 PM
#5
Stuck in the 80s
Originally posted by AtomSoft
ok since no reply yet does anyone really understand what i want done or need help with? let me show you a sample.
ok maybe you will understand this
<a href="index.php?File=image.gif_64_64">Some Link</a>
something like that but i want the user to be unable to see it. you understand
There's no way for the user to not be able to see it. Your options are either GET or POST. If it's GET, it'll be in the link. If it's POST, you'll need a form.
I don't know exactly what you're doing, but you could also try storing the values in a session or cookie in index.php, and then pulling them up in image.php
-
Sep 27th, 2004, 02:21 PM
#6
Thread Starter
Addicted Member
thx... you can check out my homepage and goto the art work section to see what i was trying to do. Well i was trying to load a image from a click like if i click on a image it will load @ the bottom of the page. Well i succeeded
Live to love, Not to hate
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|