Author Topic: "default" php keyword in table  (Read 27395 times)

Offline smallfish

  • Full Member
  • ***
  • Posts: 129
  • Karma: +15/-2
    • View Profile
"default" php keyword in table
« on: March 14, 2013, 01:08:33 AM »
I find that the table "resource_map" use "default" as a field.
"default" is php keyword which is used in switch case. Please rename it to other name to avoid error.
Thank you!

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: "default" php keyword in table
« Reply #1 on: June 16, 2014, 08:22:59 AM »
Please explain how table field conflicts with PHP code? If you meant conflict with mysql, you can use `default` to prevent conflict
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod