RE: Forms and destroying values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-01-12 at 11:23 -0500, Beauford wrote:
>  So the answer is, there is no way to destroy the values. Question then, what
> is unset() used for as it doesn't seem to do anything? With a language as
> good as PHP I though there would be some way to do this. I have got a
> workaround, but that's exactly what it is - a work around. I am also still
> confused as to why giving them a null value doesn't work.

Because it's not PHP that won't destroy the values, it's the browser
resubmitting the values. Thus PHP needs to work around the browser's
resubmission of the form.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux