Re: newbie lost on data import... part 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This SQL is generated by my script...

   INSERT INTO cbs_eps ( eps_id , eps_name , eps_num , eps_air_date )
   VALUES ( '5','No Hiding Place','5','1974-01-10');

'eps_id' is generated from the index ($x) of the array loop

the others are retrieved from the tab delimted text file

When run from the script, the only thing going in is the epd_id! :(

All others are either ZERO or empty (defaults)

Now, if I take this same SQL and drop into phpmyAdmin all the data is
inserted!

All the fields!

What the h#@& and I doing wrong!  ????????????

The only thing Ican think of is varialbe typing.

Walter



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux