I use a submit button with a name:
<input type='submit' name='cloningView' value='View'>

and then I can test on that name:
if($_POST[cloningView])
{
...display new web page ......
}

From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB" <php-db@lists.php.net>
Subject: [PHP-DB] onClick
Date: Mon, 28 Feb 2005 21:41:45 -0500

Another question: Is there a way that I may set up an IF command with the
onClick function so that my_web_page.php3 will not be displayed unless a web
form was used to generate it? Ron


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to