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/admin/element_set_unit.php

    r4265 r4325  
    5757  $result = pwg_query($query);
    5858
    59   while ($row = mysql_fetch_assoc($result))
     59  while ($row = pwg_db_fetch_assoc($result))
    6060  {
    6161    $data = array();
     
    201201  $result = pwg_query($query);
    202202
    203   while ($row = mysql_fetch_assoc($result))
     203  while ($row = pwg_db_fetch_assoc($result))
    204204  {
    205205    // echo '<pre>'; print_r($row); echo '</pre>';
Note: See TracChangeset for help on using the changeset viewer.