hi Bj.

Yeah, I figured it out using that a minute or so ago... but I'm sure there
should be another way of doing it by enumerating the array like this:

for($i=0;$i < count($_POST); $i++)
{
        print $_POST[$i];
}

or similar.

just a thought.

cheers for the reply anyhow!

 .b(J)

> -----Original Message-----
> From: Bj [mailto:[EMAIL PROTECTED]] 
> Sent: 04 January 2003 20:04
> To: [EMAIL PROTECTED]
> Subject: [wdvltalk] Re: php POST blues...
> 
> 
> ----- Original Message -----
> From: "Ben Joyce" <[EMAIL PROTECTED]>
> 
> > got a slight problem with some PHP code, I am totally 
> baffled as have done
> > this loads of tiems before... perhaps I am too tired to 
> code, but anyway,
> > here is the deal:
> >
> > I'm tryign to enumerate the variables int eh $_POST array using the
> > following:
> >
> 
> foreach ($_POST as $postField = > $postValue)
>     print "POST field $postField = '$postValue'<br>";
> 
> 
> Bj
> 
> 
> 
> ____ . The WDVL Discussion List from WDVL.COM . ____
> To Join wdvltalk, Send An Email To: 
> mailto:[EMAIL PROTECTED] 
>        Send Your Posts 
> To: [EMAIL PROTECTED]
> To change subscription settings to the wdvltalk digest version:
>     http://wdvl.internet.com/WDVL/Forum/#sub
> 
> ________________  http://www.wdvl.com  _______________________
> 
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to 
> %%email.unsub%%
> 


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to