lilyyan
asked on
could some expert here explain the meaning of these code?
Hello:
could some expert here explain the meaning of these code? the more detail , the better
thank you so much for your reply!
The DB table for the php code
PROJTIME LOCATIONS LIMIT
Fall 2009 city A 5
Full year city A 5
Summer 2009 city A
could some expert here explain the meaning of these code? the more detail , the better
thank you so much for your reply!
The DB table for the php code
PROJTIME LOCATIONS LIMIT
Fall 2009 city A 5
Full year city A 5
Summer 2009 city A
<?php
include "dbConn.php";
$SQL = "SELECT * FROM ProjectGroups";
$rslt = mssql_query($SQL);
$i = 0;
while ($rw = mssql_fetch_assoc($rslt))
{
$projGroup[$i][0] = array($rw['PROJTIME']);
$projGroup[$i][1] = explode("XX", $rw['LOCATIONS']);
$projGroup[$i][2] = array($rw['LIMIT']);
$i++;
}
$i = 0;
?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
it's actually an single-dimension array, with the items being an array itself.
so, it's not a true multi-dimension array, but close to.
so, it's not a true multi-dimension array, but close to.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
would you please explain more detail for the following code?
how many demissions for $projGroup ?multiple dimension array make me really confused :)
Open in new window