openEdit("add=event&cellid=10&<?PHP echo Session_Name ().'='.Session_ID();?>");
or a little better: $thisSession = Session_Name().'='.Session_ID(); openEdit("add=event&cellid=10&<?PHP echo $thisSession;?>");
Then of course the editsmall.php must still do a session_start somewhere.
-- Jason k Larson
Emma Jane Hogbin wrote:
On Mon, Jun 09, 2003 at 02:27:50PM -0600, Kevin Stone wrote:
I'll bet you're using an onLoad command to launch the popup aren't you. Use Output Buffering to keep stdout from flushing before the parent script dies. If my assumption about onLoad is correct then that'll solve your problem.
Um not "onload" the link looks like this: <a onclick='openEdit("add=event&cellid=10"); return false;' onkeypress='openEdit("add=event&cellid=10"); return false;'href='edit.php?add=event&cellid=10'>Add an event</a>
and the javascript looks like this: // its goal is to EDIT any type of content in a pop-up window function openEdit(params) { var url = "editsmall.php?"+params; var ewin = window.open(url, "ewin", "width=500,height=300,toolbar=0,resizable=1,scrollbars=1"); ewin.focus(); }
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php