i know that you are trying to told me.But what i need is different. The page choosegallery, think it is user names with a each gallery, i want to link the session of the gallery of the user to a addimages.php, it means if the user PAUL, has the id gallery 12, went i click the gallery the link to the addimages.php must be gallery 12, if has another gallery, must select the gallery you chosse.
sorry for my ingles it is no good.