View Single Post
  #5  
Old 05-02-2018, 09:44 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,060
 

Default Re: Proper method for creating a new table in X-Cart 4.6.1

Quote:
Originally Posted by simetria
Thanks Carrie, do you suggest creating a module structure or just use a single file? it's nothing too complicated. We just need to store some basic information.

Also were you referring to the root/modules/Advanced_Customer_Reviews/review_modify.php file when you mentioned to use the review module as an example?

Thanks.

It really depends on what you're doing. Make sure you are coding to prevent SQL injection or any other ways a hacker could get in. If it's really simple, a single file would do.

Yes that file would be fine to look at examples. You just need to find a simple php example to work from.

Thanks,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote