How Do, All?
Here's one unsuccessful attempt to add each $val during a for:
<?
for ($z = 0;$z < count($val);$z++)
{
$v = $val + $val;
}
print 'Total?: '.$v.'<br>';
?>
Conversely I need to isolate certain elements oof a foreach:
<?
foreach($var as $v){
if ($v != 'argument')
{
//add all the $v's for a total
}
?>
Thank you!
--
Richard Whitney *
Transcend Development
Producing the next phase of your internet presence.
[EMAIL PROTECTED] *
http://xend.net *
602-971-2791
* * *
* * *__ * *
_/ \___ *
* / * \* *
*/ * * \
* */\_ |\
/ \_ / \
/ \____/ \
/ \
/ \
/ \
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php