Why use a javascript to create a new window? Any link can be directed to a new window with a simple target=.

<a href="search.php?ID=$companyID&Type=Industry" target="Industry">

"Industry" would be the reference name of the window. For instance, if you wanted to refer to it from another window.

PHP is server side, all it does is serve up a resulting page to a client. The client has no idea that PHP is being used, nor does it care. To answer your question you can't do it in PHP, but you can do it using HTTP, HTML and/or Javascript.

On Friday, September 19, 2003, at 02:13 PM, Rich Fox wrote:

And if you are not in a form? My current code is:

<a href="search.php" onClick="return popup(this,
'Industry','?ID=$companyID&Type=Industry')">
   <img src="images/Plus.gif">
 </a>

where popup is my javascript function. But as I said below, the popup
doesn't work as expected and I do not want to use javascript. I can also not
be in a form. Suggestions?


Rich

--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to