for ( $ = 0; $_POST[$i]; $i++ ) {
echo ( $_POST[$i] . "<br>\n" );
}Ben Joyce wrote:
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 totallybaffled as have donethis loads of tiems before... perhaps I am too tired tocode, but anyway,foreach ($_POST as $postField = > $postValue)here is the deal: I'm tryign to enumerate the variables int eh $_POST array using the following:
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.unsub%%
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
____ � 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]
