PDA

View Full Version : print a message if a person has private image


wilburforce
10-11-2006, 10:44 PM
i want to print text is aperson has a private image



The following function has two important parts;

GetDefaultPic($ID, 1, $connector);

ID = is the member id
1 = private image/ 0 = public

This function will only return a result for the image therefore if i want a yes/no i will need to make a function

could i say



how do i make afunction that will print a statement say: <?php
print("this member has private images");?>

if a member has a private image?

sinkhead
10-15-2006, 03:09 PM
I would recommend looking at this (http://www.tizag.com/phpT/if.php) tutorial. It covers using if statements which this type of thing will need.
- Sam