[thelist] building a dynamic variable in php

Carl J Meyer cjmeyer at npcc.net
Mon Jan 13 12:04:00 CST 2003


Tom,

On Mon, 2003-01-13 at 09:58, Tom Dell'Aringa wrote:
> Would an array be better? How would I do it with an array?

Hard to say much more without knowing the details of your task and the
rest of the script.  DavidU gave simple code for transferring the values
from $_POST to a $mail array and made some good suggestions (i.e. using
list() to put the values in variables that more accurately reflect their
contents, whatever those might be).

Really depends on what you're doing with the data...

Carl




More information about the thelist mailing list