Changeset 4325 for trunk/comments.php


Ignore:
Timestamp:
Nov 20, 2009, 3:17:04 PM (14 years ago)
Author:
nikrou
Message:

Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comments.php

    r4182 r4325  
    284284    AND ', $page['where_clauses']).'
    285285;';
    286 list($counter) = mysql_fetch_row(pwg_query($query));
     286list($counter) = pwg_db_fetch_row(pwg_query($query));
    287287
    288288$url = PHPWG_ROOT_PATH
     
    332332;';
    333333$result = pwg_query($query);
    334 while ($row = mysql_fetch_assoc($result))
     334while ($row = pwg_db_fetch_assoc($result))
    335335{
    336336  array_push($comments, $row);
     
    349349;';
    350350  $result = pwg_query($query);
    351   while ($row = mysql_fetch_assoc($result))
     351  while ($row = pwg_db_fetch_assoc($result))
    352352  {
    353353    $elements[$row['id']] = $row;
Note: See TracChangeset for help on using the changeset viewer.