php/mysql multiple insert
Posted by: testboy
Posted on: 2004-08-12 20:23:00
I'm trying to do a multiple insert (several lines) to a mysql database table directly from php with the mysql_query command. I can enter one record but mysql won't let me do anymore. For a long and convoluted reason, I can't use phpmyadmin in this case. I've tried various combinations of queries with no success. Anyone have any success with this? I could always kludge it as a loop but the mysql/php documentation insists that I should be able to do a multiple insert with a single command.