Cant it automatically get the memberusername from the members profile page?
Like if I am in user "vivicas" profile
and then there is a link on the bottom saying.. look at my pictures..
cant it automatically make
$result = mysql_query("SELECT image_name FROM photo_album WHERE file_name=$membername ",$db);
into:
$result = mysql_query("SELECT image_name FROM photo_album WHERE file_name='vivica' ",$db);
by using some variable that is passed from VB to the script?
|