PHP and ID of
tag - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: PHP and ID of

Gazing into my crystal ball I observed Paul

Quoted text here. Click to load it

Sometimes I do something like:

$images = array("abc.gif","def.gif","ghi.gif");

<li><a href="<?php echo $_SERVER['SCRIPT_NAME'];?>#d<?php echo $i; ?>">
<img src="<?php echo $images[$i]; ?>" alt=""></a></li>
<?php } ?>
<!-- You could also be looping through the content as well -->
<div id="d1">Content</div>
<div id="d2">More Content</div>

Adrienne Boswell at Home
Arbpen Web Site Design Services
Please respond to the group so others can share

Re: PHP and ID of

Paul wrote:
Quoted text here. Click to load it /

this might help if you're looking to do something without having to
reload the page to change something.

The Developer Network
PHP Classes and Snippets

Site Timeline