Thursday, June 2, 2011

Re: "7447-40-7" this value is not storing in database

> I want store this "7447-40-7" value in database. now its storing only
> 7447 only.
> Please help.

you are no doubt trying to save this in an int field which wont work.

if you need it in that format, change field type to VARCHAR otherwise
consider saving your number as 7447407 and then reformatting it in the
view to add the -.

Mike Karthauser
Managing Director - Brightstorm Ltd

Email: mikek@brightstorm.co.uk
Web: http://www.brightstorm.co.uk
Tel: 07939 252144 (mobile)
Fax: 0870 1320560

Address: 1 Brewery Court, North Street, Bristol, BS3 1JS

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: