PHP Pass URL and Open New Browser question

Hi All,
  I know this is probably rather simplistic, but I am getting some errors and I have drawn a blank.  I am building a mysql database driven site utilizing dreamweaver.  i have a window that displays some items (using repeating region) and then I want the user to be able to click on the item_name and bring up another browser window that has a larger picture and a more detailed description (all fields are within the same db table).  these fields are all in the database, so i am basically trying to do something equivalent to a master-detail type page transition.  in the 'item_name' field of the database I have the following:

<a href="../pages/item_desc.php?item_number=<?php echo $row_lucky['item_number']; ?>" title="Item Description" target="_blank">This is my item name</a>

what I need to do is also be able to set status=yes, scrollbar=yes,resizeable=yes,width=533, and height=376

i have tried many a combination of this including a javascript in the header and calling it, but with no success.  But ideally I would like to have all this in the actual table field.  Anybody have any ideas on what the syntax needs to be?  Thanks so much.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

should work

more code in a second.

Try this

<a href="#" onClick="'../pages/item_desc.php?item_number=<?php echo $row_lucky['item_number']; ?>','PopUp','toolbar=no,status=no,width=200,height=100')">Item Name</a>

This should work.
Just know that you may want to tell your audiance that javascript is being used...some users have it turned off.

drewman75Author Commented:
hmm, i was for sure that was going to work.  but when i click on it, it doesn't do anything.  is there something i have to substitute for th # in <a href="#" since i notice when I put the cursor over the link it reads out 'http://www......./item_desc.php#'.  Thanks so much
change to this

<a href="#" onClick="'../pages/item_desc.php?item_number='+<?php echo "this";?>,'PopUp','toolbar=no,status=no,width=200,height=100')">Item Name</a>

no, the # sign is a null for the browser and lets the javscript do the work of opening  a new window.

if you want to set the height and width of a window, I think javascript is the only way.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.