I placed this question in this php part as it might be more related to php if that makes sense
i have the below line
PHP Code:
echo "<a href='im/private.php?".$rnp['login']."'target=_new>"."<img src='siteimages/im.jpg' border='0' alt='Private message'></a><br>";
that nicely brings up a new window to private message someone in.
however i need the new popup to be a set size with scroll turned of and set dimentions, say 200x200
i know i can do it like this with javascript in html
<a href="javascript :windowHandle = window.open('private.php.html','Private message','width=200,height=200, location=yes'); windowHandle.focus()">Private</a>
but i can't work out how to use the script it in php without getting a parse error.
can anyone help me please?
Thanks
Shaz x
__________________
mysql_connect("localhost", "brain", "sharon") or die(mysql_error());
mysql error: brain doesn't exist!
Last edited by Sharon_leic; 03-03-2008 at 10:33 AM..
|