Trying to submit form to frame and pass php var

From: Date: Sun, 14 Sep 2003 01:08:15 +0000
Subject: Trying to submit form to frame and pass php var
Groups: php.general 
Request: Send a blank email to php-general+get-162536@lists.php.net to get a copy of this message
Hello I was wondering if someone could help me out. Trying to submit form to frame and pass php var at the same time. <script language="JavaScript"><!-- function submitform(){ top.admin.document.adminform.submit(); } //--></script> and... <frameset rows="538,83" cols="*"> <frame src="admin.php?order=1" name="admin" id="admin"> <frame src="status.php" name="status" scrolling="auto" id="status"> </frameset> Link look like: <a href="javascript:submitform();" target="_parent">Delete</a> What I need to do though, is run this exact script while passing ($delete=yes) as php at the same time? Basically, run the form and if delete=yes then use the following form tag : <form name=adminform method=post action=setup.php?delete=yes target=_parent> Any ideas? Thanks Brandon

« previous php.general (#162536) next »