"update" question
| From: | Matt Hedges | Date: | Mon, 02 Jun 2003 19:12:11 +0000 |
| Subject: | "update" question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149834@lists.php.net to get a copy of this message | ||
Hello, I am new to PHP and would greatly appreciate any help.
I am building a webpage for my sister's sorority- http://olemissddd.com. I
have built a page that allows them to update the officers each year-
http://hedges.org/ddd/olemiss/updateofficers.php
and then view those
officers- http://hedges.org/ddd/olemiss/officers.php .
However, what I want to be able to do that I can't figure out is for when
they leave one of the fields blank it doesn't change anything. As it is
now, when they change one of the fields and leave the others blank it will
overwrite the names it had for them with blank spaces. I want to be able to
do this so for example if they mistype someone's name, etc. So somehow I
need to be able to tell it that when the user leaves the field blank, not to
change that field in MySQL.
Thanks very much,
Matt Hedges
matt@hedges.org
--
___________________________
| Matt Hedges
| http://hedgesinnovations.com
|