small window scripts?

From: Date: Thu, 19 Oct 2000 14:34:54 +0000
Subject: small window scripts?
Groups: php.db php.general 
Request: Send a blank email to php-general+get-21165@lists.php.net to get a copy of this message
Hi, I have the problems for sending the data through this statement, I am the value for primary and the name of the field supposed to field not newfield. Also, it's possible I could just send the values to the second page as what I had originally like echo "tbl_edit.php?&primary=$pk&pkfield=$pkfieldname&field=$fieldname&datafield=$ data&table=$table&query=$rs"; inside with the javascript for the small window display? Thanks in advance for any help. <a href="javascript:void(msgwind=window.open('<?php printf("%s?primary=%s&pkfield=%s&field=%s&datafield=%s&table=%s&query=%s","t bl_edit.php", $pk, $pkfieldname,$fieldname,$data,$table,$rs); ?>','newwindow','dependent=yes,toolbar=no,width=300,height=750'))">more infos</a> calvin -----Original Message----- From: Nicolas Windpassinger - Sun Microsystems [mailto:nicolas.windpassinger@sun.com] Sent: Wednesday, October 18, 2000 10:53 AM To: Wee Chua Cc: PHP (E-mail); Php-Db (E-mail); Php-Db-Help (E-mail) Subject: Re: [PHP] small window scripts? Wee Chua wrote: > Hi all, > Could anyone tell me how to create a fix small window screen when user click > the hyperlink? Thanks a lot! > > Calvin > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net Here you got it: i open the window called msgwindow, which contains the html doc:popupwindowinfos.php i also enter popupwindowinfos.php with some fields: name and section that have the $name and $section values. for the other options on the window in javascript.....go and check on a book...you should find it out! hope you good fun: <a href="javascript:void(msgwind=window.open('<?php printf("%s?name=%s&section=%s","./popupwindowinfos.php", $name, $section); ?>','newwindow','dependent=yes,toolbar=no,width=300,height=750'))">more infos</a></td> Nicolas.

« previous php.general (#21165) next »