01-08-2009, 02:32 AM
|
#27 (permalink)
|
|
The Visitor
Join Date: Jan 2009
Posts: 1
Thanks: 0
|
Ok I m a newbee to this php thing.
Can someone tell me more clearly how do I set this up?
I have this placed on my html page.
<img src="<?php echo $pAvatar->getAvatar(); ?>" alt="Gravatar" />
Do I have to link it to this code somehow? How do I do that?
$pAvatar = new TalkPHP_Gravatar();
echo $pAvatar -> setEmail('example@example.com')
-> setSize(80)
-> setRating(GRAVATAR_RATING_PG)
-> getAvatar();
Is the above code supposed to be on a seperate php document within my site and what is that document supposed to be called?
|
|
|
|