Update of /cvsroot/phpweather/phpweather/db
In directory usw-pr-cvs1:/tmp/cvs-serv5112/db
Modified Files:
pw_db_dba.php
Log Message:
Second try on this
Index: pw_db_dba.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/db/pw_db_dba.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- pw_db_dba.php 25 Mar 2002 21:19:54 -0000 1.4
+++ pw_db_dba.php 25 Mar 2002 21:22:55 -0000 1.5
@@ -148,7 +148,7 @@
* @see update_metar()
*/
function insert_metar($station, $metar, $timestamp) {
- $this->debug("Inserting this row into the DBA database:<br><code>$row</code>");
+ $this->debug("Inserting this row into the DBA database:<br><code>$metar . ':' . $timestamp</code>");
dba_insert($station, $metar . ':' . $timestamp, $this->link_id);
}
@@ -162,7 +162,7 @@
* @see insert_metar()
*/
function update_metar($station, $metar, $timestamp) {
- $this->debug("Updating this row in the DBA database:<br><code>$row</code>");
+ $this->debug("Updating this row in the DBA database:<br><code>$metar . ':' . $timestamp</code>");
dba_replace($station, $metar . ':' . $timestamp, $this->link_id);
}
|