Re: [PHP-DB] keeping form field data when reloading a form

2002-08-29 Thread Lukas Boldrino

yes thats right
Russ [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
..
Chip:

Just use the names of the fields as the values too:

input type='text' name='Email' value='$Email' /

HTH :-)
Russ

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 1:58 AM
To: PHP_DB
Subject: [PHP-DB] keeping form field data when reloading a form


I have my email checker working now, and all the other fields are
checked
also, but when I do enter
some wrong data the form is reloaded with all blank fields. I'm sure
there
is a way to keep the existing
data in the fields so the end-user will only have to change the
incorrect
fields, and not have to re-enter
all the data. But how?

--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
[EMAIL PROTECTED]

There is no reason anyone would want a computer in their home.
 --Ken Olson, president, chairman and founder of Digital Equipment
Corporation, 1977
 (They why do I have 9? Somebody help me!)


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





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




[PHP-DB] odbc data sort problem (i think) :)

2002-08-29 Thread Lukas Boldrino

hey guys !

I´m trying to use a if syntax to compare data and preselect radiobuttons.
I tried it like that:

if ($checked == Patch)
$checked6 = bla;

With numbers it works great but with char my $checked6 variable is empty !
I know php is case sensitive and I´m sure that problem is not the case
sensitive
so please help, im using a MS SQL Server 2000 (enterprise edition) and the
odbc driver!

thanks guys!

-
[EMAIL PROTECTED]
-



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




[PHP-DB] Re: odbc data sort problem (i think) :)

2002-08-29 Thread Lukas Boldrino

i got the problem.
the odbc driver fills unuses spaces in a row with blanks.

goddamn *g*

cu
Lukas Boldrino [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 hey guys !

 I´m trying to use a if syntax to compare data and preselect radiobuttons.
 I tried it like that:

 if ($checked == Patch)
 $checked6 = bla;

 With numbers it works great but with char my $checked6 variable is empty !
 I know php is case sensitive and I´m sure that problem is not the case
 sensitive
 so please help, im using a MS SQL Server 2000 (enterprise edition) and the
 odbc driver!

 thanks guys!

 -
 [EMAIL PROTECTED]
 -





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