From: Martin A. Marques <martin@math.unl.edu.ar>
To: Paul Joseph McGee <mcgee@student.cs.ucc.ie>
To: pgsql-php@postgresql.org
Subject: Re: Forms and PHP
Date: Wed, 21 Mar 2001 18:30:11 -0300
Message-ID: <01032118301100.05822@math.unl.edu.ar> (raw)
In-Reply-To: <200103212121.VAA26820@student.cs.ucc.ie>
References: <200103212121.VAA26820@student.cs.ucc.ie>
El Mié 21 Mar 2001 18:21, Paul Joseph McGee escribió:
> hi everybody,
> could someone please tell me if i can do the following, because basically
> its not working for me at the moment.
> i have a php script where i access my database and get some variables eg.
> $currentBid. outside the script i have a form and i want to validate the
> form using what was inputted into the form and $currentBid. so for
> examlple
> <?
> ....
> $currentBid=...
> ?>
> <FORM ACTION="bidNow.php" METHOD="post" onSubmit="return
> checkBid(price,$currentBid)";>
> ....
>
> can i do this. well obviously not but u know what i mean!
Why don't you just do the check at the begining of bidNow.php?
Saludos... :-)
--
System Administration: It's a dirty job,
but someone told me I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: martin@math.unl.edu.ar, mcgee@student.cs.ucc.ie
Subject: Re: Forms and PHP
In-Reply-To: <01032118301100.05822@math.unl.edu.ar>
References: <200103212121.VAA26820@student.cs.ucc.ie> <01032118301100.05822@math.unl.edu.ar>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox