troubleshooting Question

PHP Array updating 2147483647 if >9 characters entered

Avatar of rcowen00
rcowen00Flag for United States of America asked on
PHP
3 Comments1 Solution273 ViewsLast Modified:
I have the following input and it works fine unless the user enters >9 characters.  On record 1002 the entry is 10 characters long and looks correct in the array, but updates as "2147483647".  No matter what is entered if it is >9 characters it always returns this number.  I have searched to entire project for 2147483647, but found nothing.  Any ideas?

The array returns

Array ( [421] => 5555 [422] => 0 [1001] => 0 [1002] => 5555555555 [1003] => 0 [1004] => 0 [1006] => 0 [1028] => 0 )

<input class="mainText" id="ordNumber" name="ordNumber[<?php echo $reprocessingKey;?>]" type="text" value="<?php echo $orderNumber; ?>"/
ASKER CERTIFIED SOLUTION
Vampireofdarkness

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros