SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: A Dumb Question Maybe But
-
Feb 12, 2002, 15:31 #1
- Join Date
- Nov 2001
- Location
- Dallas, Texas
- Posts
- 1,342
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
A Dumb Question Maybe But
how do i assign links and pics with an id??
i love php
-
Feb 12, 2002, 16:09 #2
- Join Date
- Nov 2000
- Location
- Switzerland
- Posts
- 2,479
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Feb 12, 2002, 16:19 #3
Simple example:
PHP Code:<a href="link.php?value=<?php echo $id; ?>">Link</a>
Cheers.
-
Feb 12, 2002, 21:32 #4
- Join Date
- Jan 2002
- Location
- Canada
- Posts
- 6,364
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Couldn't you just use the regular thing (that if statement) to make an iD thing, and in that put <img src etc. etc. with the image?
That would work, and sounds easier...
~someonewhois
Bookmarks