|
|

|

|

|

|

|

|



As part of an ongoing exploration of multiculturalism and its future, we are hosting a comment board. Please join the discussion and add your comments.

|

|
|

|

|



open_db(DB);
$num_posts = 0;
$q = "SELECT * FROM topic WHERE active='Y'";
$result = mysql_query($q,$conn)
or die("Query ($q) failed: " . mysql_error());
if(mysql_num_rows($result) != 0){
$row_color = 'FFFFFF';
$button_color = 'C3C0A8';
$button_type = 'dark';
while($row = mysql_fetch_assoc($result)){
//$num_posts = get_num_of_posts($row['id']);
?>
echo $row['title']; ?>
 echo $row['description']; ?> |
|

|
 |

 |
|

|
$row_color = ($row_color == 'FFFFFF') ? 'FFFBCF' : 'FFFFFF';
$button_color = ($button_color == 'C3C0A8') ? 'D1CFBE' : 'C3C0A8';
$button_type = ($button_type == 'dark') ? 'light' : 'dark';
}
}else{
?>
No topics found.
|
}
close_db();
?>

|

|
|

|
|
|

|

|
"The Future of Multiculturalism in BC" consultation is sponsored by:
|

|
|

|

|
Diversity/Vancouver is sponsored by:
|

|
|
|

|

|

|
| © The Laurier Institution 2005 |

|