Can anyone help with a query?
I have a php page that I want to assign a number to a variable, I want the number to be integers added together from a mySQL database. In this example, the numbers are in the "assigndatx" column, my query looks like this:
$AssignDates = mysql_query("select assigndatx from opencall where status < 2") (opencall is the table, I'm only wanting those with status of 0 or 1). Can anyone help me with the code to add all the results together?
SUM()function maybe?SUM(assigndatx)?mysql_query? Legacy application?