Heya,
session variables are what you need to use to keep a value across multiple scripts. They will remain valid unless the browser is closed or the timeout is reached.
a good example is a logon script, once authenticed, $_SESSION['loggedon']=1. each script then checks the session[loggedon] variable before allowing any execution and terminate otherwise.
in your case, you would read the search tag , using $REQUEST, and then set them as session vars using $SESSION.
ie, edituser.php?id=1
$id=$REQUEST['id'] //this sets the id value from the URL to a variable for use
$SESSION['id']=$id //this creates the session variable with that data, any script
//within the session can use it
re images, there are 2 ways, you can either store image files on the server, and have them uploaded via forms, and a database table that stores the filename, file path, file description etc etc...
..or you can store the image as a blob in your table.
I think either way is valid, but I chose to store the images as files and reference them, just because i found it easier to manipulate, for example with thumbnail/image gallery type scripts. There are good tutorials around for each method.