Jas <mailto:[EMAIL PROTECTED]>
    on Wednesday, December 10, 2003 3:21 PM said:

> while(list($id,$sub,$msk,$dns01,$dns02,$rtrs,$rnge) =
> mysql_fetch_row($sql_subs)) {
>       $_session['<something to automaticly increment session var>'] =
> "$sub+$msk+$dns01...
> }

No exactly sure what you mean but here goes:

$iCtr = 0;

while(list(...)) = mysql_fetch_row(...))
{
        $_SESSION[$iCtr] = "$sub+$msk...";
        $iCtr++;
}


HTH,
Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to