Changeset 4265 for trunk/upload.php


Ignore:
Timestamp:
Nov 15, 2009, 1:26:09 PM (15 years ago)
Author:
nikrou
Message:

Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upload.php

    r3747 r4265  
    289289  $query.= ';';
    290290  $result= pwg_query( $query );
    291   $row = mysql_fetch_array( $result );
     291  $row = mysql_fetch_assoc( $result );
    292292  $file = substr ( $row['file'], 0, strrpos ( $row['file'], ".") );
    293293  $extension = get_extension( $_FILES['picture']['name'] );
Note: See TracChangeset for help on using the changeset viewer.