Fellow phpers:

>From what I've read using eval is a sin:

function getValue(counter) {

   var packitemValue = "document.item_form.PackItem_" + counter + ".value";
   packitemValue = eval (packitemValue);

}

Am I sinning?  And if so, how and can someone help me repent?

i.e. how else would I code this?

Thanks

Merrill

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to