PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a html form that someone fills out. Then on "submit" a php script reads what was typed in the form. It then opens a new page with a html page in it with the results.
I would like this page to load as a pre-sized window (ie. 200 X 400pixels). How?
Yup, that is just a javascript link which is generated in PHP. PHP doesn't open the new window, thats Javascripts job. PHP fills in the information when the page is processed so the javascript knows what image to open and how big the window should be.
Mark
Last edited by JayBird on Tue Sep 02, 2003 11:11 am, edited 1 time in total.
onClick specifies an event handler that is to be called when the element is clicked. In you case it calles a dom/js-method. window is a dom-object and open one of its methods.
e.g. take a look at http://www.blooberry.com/indexdot/html/ ... owopen.htm
now the browser/client doesn't care about what produced the output, it only sees the output