$sth = db_query($query);
- if ($sth === false || pg_NumRows ($sth) == 0)
+ if ($sth === false || pg_num_rows ($sth) == 0)
return ' ';
$rowf = '<tr>
</tr>';
$ret .= '<table class="bookmarks" width="100%", alt=ยจ">';
- for ($n=0; $n < pg_NumRows ($sth); $n++) {
+ for ($n=0; $n < pg_num_rows ($sth); $n++) {
$row = pg_fetch_array ($sth, $n);
if (javascript_ok()) {