Ok, I think I have my template and includes problem worked out,
but making an array out of the data returned.
My question is how do I make an array out of a returned result. Here
is the code:

$sql = "select bp_section_id,bp_section_name from bp_sections order by 
bp_section_name";
$sql_result = mssql_query($sql);
while ($row = mssql_fetch_array($sql_result)){
$bp_section_id = $row["bp_section_id"];
$bp_section_name = $row["bp_section_name"];
$ln = "<tr><td><a 
href=\"bpsection.php?section=$bp_section_id\">$bp_section_name</a></td><td></td></tr>";
};

I need to create an array of the data returned and store it in a variable 
that I
can call.

Thanks in advance.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to