Hi,
I am running the above on apache. I have multiple records in the database. I did phpinfo() and i got the php info page. When i define the recordset in my page and preview, its blank. When i remove the recordset, i get the static text, when i add the recordset everything is blank.
This is what i have so far:
<?php
mysql_select_db($database_dsa, $dsa);
$query_GetAlert = "SELECT * FROM Alerts";
$GetAlert = mysql_query($query_GetAlert, $dsa) or die(mysql_error());
$row_GetAlert = mysql_fetch_assoc($GetAlert);
$totalRows_GetAlert = mysql_num_rows($GetAlert);
?>
<span class="style1"><?php echo $row_GetAlert['AlertStatus']; ?></span><?php echo $row_GetAlert['AlertARSTT']; ?>
<?php
mysql_free_result($GetAlert);
?>
This stopped working when i upgraded the whole system to CentOS Linux v4 with the latest rpms. I have the phpMyAdmin tool which seems to work ok do administer mysql.
ANy help is apprecaited.
Thanks
I am running the above on apache. I have multiple records in the database. I did phpinfo() and i got the php info page. When i define the recordset in my page and preview, its blank. When i remove the recordset, i get the static text, when i add the recordset everything is blank.
This is what i have so far:
<?php
mysql_select_db($database_dsa, $dsa);
$query_GetAlert = "SELECT * FROM Alerts";
$GetAlert = mysql_query($query_GetAlert, $dsa) or die(mysql_error());
$row_GetAlert = mysql_fetch_assoc($GetAlert);
$totalRows_GetAlert = mysql_num_rows($GetAlert);
?>
<span class="style1"><?php echo $row_GetAlert['AlertStatus']; ?></span><?php echo $row_GetAlert['AlertARSTT']; ?>
<?php
mysql_free_result($GetAlert);
?>
This stopped working when i upgraded the whole system to CentOS Linux v4 with the latest rpms. I have the phpMyAdmin tool which seems to work ok do administer mysql.
ANy help is apprecaited.
Thanks