Re: Forms and PHP

From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Paul Joseph McGee <mcgee(at)student(dot)cs(dot)ucc(dot)ie>, pgsql-php(at)postgresql(dot)org
Subject: Re: Forms and PHP
Date: 2001-03-21 21:30:11
Message-ID: 01032118301100.05822@math.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Adam Lang 2001-03-21 21:33:53 Re: php, postgres, ssl
Previous Message Paul Joseph McGee 2001-03-21 21:21:55 Forms and PHP