Jump to content

Help inserting value '-'


asimac

Recommended Posts

Hello -

 

I have values like this: 111-1111z, 111-1112z.  They represent product id's. 

 

I read these values in from a tab delimited txt file.  When I insert them into the database they appear like this '-1111z'.  The first three digits are cut off.

 

The column is a varchar(15).  Any ideas why is it inserting like this?

 

Any thoughts/ideas would be helpful.

Link to comment
https://forums.phpfreaks.com/topic/215019-help-inserting-value/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.