?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: show array in mail form
Author:??(---.cpe.net.cable.roger)
Date:???09-29-03 08:46

you would need to cycle through the array and place the elements after each other...

ex


//assume array of elements holds values (Printer, Cables, Monitor)

messageBody = "You have chosen the following items:\n";

for($x=0;$x
messageBody.= $x.". ".$arrayName[$x]."\n".

}

mail ($to, $subject, $messageBody, [optional from headers]);

?>

this would produce a list like:

You have chosen the following items:

1. Printer
2. Cables
3. Monitor

hth

?Topics Author? Date
?show array in mail form??new
suthat 09-28-03 09:26?
?Re: show array in mail form??new
? 09-28-03 21:13?
?Re: show array in mail form??new
bastien 09-29-03 08:46?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
????

Provided By
Phorum