Creating a Variable From Two Others
- by John
Hello,
In the HTML table below, I would like to add a third column that equals $row["countSubmissions"] times 10 plus $row["countComments"]. How could I do this?
Thanks in advance,
John
$sqlStr = "SELECT
l.loginid,
l.username,
COALESCE(s.total, 0) AS countSubmissions,
COALESCE(c.total, 0) AS countComments
FROM login l …