This code...

<code>
$q = "LOAD DATA INFILE '".str_replace("\\","/",$sqlfil["tmp_name"])."'
REPLACE INTO TABLE sortiment";
$res = mysql_query($q, $link_id);
print(mysql_affected_rows($link_id)."<br
/>".str_replace("\\","/",$sqlfil["tmp_name"]));
</code>



...gives the output:

-1
 C:/WINDOWS/TEMP/php1D0.tmp

Any idea why this isn't working?


.bobo

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to