Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
SPJeff69
Regular
Regular


Joined: Oct 25, 2004
Posts: 53

PostPosted: Tue Nov 15, 2005 11:59 pm Reply with quote

I want to use PHPmyadmin to change a value in my nuke_users db.

I want to resubscribe everyone to my newsletter. The quickest way would be to use phpmyadmin, however, I don't know the SQL query to run.

I want to change the value for 'newsletter' if its 0 to 1.

How do I do that
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Nov 16, 2005 12:39 am Reply with quote

update nuke_users set newsletter=1

There's no reason to check if it's a zero. Just reset all.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©