|
Posted by "Richard Lynch" on 10/23/05 07:30
On Tue, October 18, 2005 2:15 pm, Shaun wrote:
> Thanks for your replies, rather than check each vaule by name I am
> trying to
> produce a more dynamic solution:
>
> foreach ($_POST as $key => $value) {
> if ($value == '') {
> $_POST[$key] == 'NULL';
If you actually have == in this line, that is your trouble.
> }
> }
>
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|