1

When I am pulling data from my table the type of the field is int and when I pull it with PHP it is staying asint. Yet on my server it is being pulled as a string (as I expect it to).

Both databases have the type of field as int. The code is the same on both of the machines, but the PHP version is slightly different. I can't see it being a result of a change in PHP, since this seems like a regression instead of an enhancement. I can't seem to find out why this is happening.

Local PHP version: 5.3.13

Remote PHP version: 5.3.3

Do you guys have any idea what is going on? This is quite odd.

Chris Bier
  • 14,183
  • 17
  • 67
  • 103

0 Answers0