Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 Jan 2010, 22:03
TheMayhem's Avatar
TheMayhem TheMayhem is offline
 
Join Date: Oct 2002
Real name: Brad
$dbalter->add_field Question

I'm working on finishing up a product I've created and am having a tiny bit of issues with the $dbalter->add_field function. I need to add a field to the usergroup database that can contain decimals. I've tried Double & Decimal (12,2) but haven't had much success. All other fields I've added have worked correctly except when it comes to decimal manipulation. Here is a copy of my code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

What can I do differently to get the double or even a decimal data type in there to work correctly?
__________________
Currently in Production:
vB 4: Point Market System Version 3.1.2 (A Point Donate/Store System)
Point Market Support: Support Trouble Ticket System
Reply With Quote
  #2  
Old 07 Jan 2010, 12:20
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Have you tried


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

for the length ?
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:24.

Layout Options | Width: Wide Color: