Jump to content

[SOLVED] MySQL Math


shane18

Recommended Posts

Lets say i have a table....

 

Mail_Usage

Date // E_Mails

 

how can i make it so anything a e-mail is sent from my server it adds 1 to the E_Mail for todays date.... for example something like

 

mysql_query("UPDATE Mail_Usage set E_Mails++ WHERE Date='$DATE'");

 

would that work? i don't have access to my site from school cuz its blocked

Link to comment
https://forums.phpfreaks.com/topic/175144-solved-mysql-math/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.