Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MYSQL code for help testing Newsletters


dootch

Recommended Posts

For most on this list this is a no brainer but I struggled with this so I put this out there for all newbies.This will help those of you with alot of customers in you DB.

 

Go to phpmyadmin select your database, click on the customer table, select SQL from the top tab. Copy and paste this code into Phpmyadmin and click go. This takes subscribers (1) to 2, manually change yours to 1 to test and reverse #'s 1 and 2 and run again to change back.

 

Update IGNORE customers set customers_newsletter='2' WHERE customers_newsletter='1';

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...