I have the Javascipt function that I want to rewrite in PHP. is it possible and how?
<script language=javascript> function tellfriend(){ window.open("friend.php","webpage","toolbar=no,menubar=no,height=450,width=500","resizeable") } </SCRIPT>
Thanks
can't redo the height and width stuff, you're best off to leave this in javascript but if you want to you can have php generate the javascript.
Hi, never is easiest:
<? function openwindow() { ?> <script language=javascript> window.open("friend.php","webpage","toolbar=no,menubar=no,height=450,width=500","resizeable") </SCRIPT> <? } ?>