Jump to content

array specific linking


thomseddon

Recommended Posts

i am developing a facebook application,,,,, and i can generate an array with all the photos a user is tagged in and display it like this:

 

if (is_array($picgett))
foreach ($picgett as $r)
echo "<fb:photo pid=\"$r[pid]\" />";

 

(and the <fb:photo pid="" /> part is correct its "fbml" (facebook markup language), it works the same as <img src="" /> but each photo on fb is given a unique pid so you can just use this)

 

ok so what i want is for every photo showen in the array so be a link to a page like

 

nextpage.php?pid=(the selected photos pid)

 

i can grab the entire src of a picture and display it using the img tag if that is easier?

 

tia!

 

Link to comment
https://forums.phpfreaks.com/topic/111735-array-specific-linking/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.