I have the some problem with Informix.
This is my code:
$query1 = "LOAD FROM '".addslashes($file_name)."' INSERT INTO load_tmp(srcaddr,
input, output, srcport, dstport, protocol, pkts, octets, flows);";
$rid1 = ifx_query($query1, $conn_id);
I set up a valid file name, and my Query
successful perfomed by dbaccess. (informix SQL utility).
Shane McHale wrote:
I had the same problem trying to figure out how phpmyadmin does it.
Try saving your query in a text file saved as .sql. Then use the the query:
mysql_query(". myfilelocation\myfile.sql", $link_id);
Its a long shot but it might just work!!