I think I get what you're trying to say ab4me. Include this certain bit of code in a different php page in session regarding the level. Though I'm confused towards that direction, because I didn't think setting what should show up on a page according to the stafflevel my staff member is would be that complicated.
Maybe I should try at simplifying what I am trying to do.
Basically it's a news posting CMS, this was part of the code in the addnews.php file. I have two stafflevels: 1 = admin, and 2 = editor. The editor's rights are restricted compared to what admin can do. 1 is already listed as a value in admin, or so I think it should be as I added the SQL code in my database. I would think if stafflevel = 1 then it should show the function, and else would show something different (whatever restriction I want for the editor)
Basically, I'm trying to make that dropdown menu not show if you are an editor staff member logged on to the admin panel. The other problem is, I also seem to not be able to display the list of names except just the one I am logged in as in the dropdown list (only shows when take the echo calls out of the 'if' statement). I also want to make sure the editor level, when posting his news that it will be still posted under his logged in name, but that he can not select others.
I've searched through sites and forums for information on multiple queries and dropdown list functions, and am starting to delve deeper into the php manual w/ mysql_query. Though I still keep finding myself back at square one writing up the same block or something similar that was done before. Which I guess, is what I will have to do, until I figure it out. It seems that I still do have a long way to go in knowing all about php.