data retrieved from db with links
Posted: Sat Apr 19, 2008 9:44 am
i'm a newbie in php environment....
so i have retrieved my data from the database.. through an array...
i already retrieved it visually like in a webpage.... but.... i want to do something like (i dont know how to code it...i ran out of ideas...)
for example i have the data already...
1 cat black
2 dog white
3 pig flesh
4 sheep white
i want to put a link to each retrieved data in column 2.... (cat,dog,pig,sheep)
so that if i click the "cat" it will go to cat's profile....dog then dog's profile......
i dont really know how to do it cuz my resluts were from an array........
i hope someone can understand me.... thanks
so i have retrieved my data from the database.. through an array...
i already retrieved it visually like in a webpage.... but.... i want to do something like (i dont know how to code it...i ran out of ideas...)
for example i have the data already...
1 cat black
2 dog white
3 pig flesh
4 sheep white
i want to put a link to each retrieved data in column 2.... (cat,dog,pig,sheep)
so that if i click the "cat" it will go to cat's profile....dog then dog's profile......
i dont really know how to do it cuz my resluts were from an array........
i hope someone can understand me.... thanks