Posted: Tue Jul 05, 2005 7:39 pm
http://dev.mysql.com/doc/mysql/en/group ... fiers.html says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
row['date'])
{
// this is the total
}
else
{
// not the total
}
}
e use http://www.php.net/mysql_fetch_assoc.
rs.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
use http://www.php.net/mysql_fetch_assoc.
en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
else
{
// not the total
}
}
l[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
is the total
}
else
{
// not the total
}
}
w.php.net/mysql_fetch_assoc[/url].
you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
sql.com/doc/mysql/en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
tch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}
ml[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
);
while ($row = mysql_fetch_assoc($rs))
{
ifodifiers.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
http://www.php.net/mysql_fetch_assoc.
sql.com/doc/mysql/en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}
f (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}
assoc[/url].
difiers.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
sql.com/doc/mysql/en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
s you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}{
// this is the total
}
else
{
// not the total
}
}
e use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// thisql.com/doc/mysql/en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_nsql.com/doc/mysql/en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
ith PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}{
// not the total
}
}
l[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}}
else
{
// not the total
}
}
w.php.net/mysql_fetch_assoc[/url].
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc( do it in the query..
With PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
sql.com/doc/mysql/en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
ysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($rowoh PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the sql.com/doc/mysql/en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($rowї'dp.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}
ml[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}while ($row = mysql_fetch_assoc($rs))
{
ifodifiers.html[/url] says you can't do it in the query..
With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
iy-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}
f (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}
assoc[/url].
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($rowї'datesql.com/doc/mysql/en/group-by-modifiers.html[/url] says you can't do it in the query..
With PHP you can for example use [url]http://www.php.net/mysql_fetch_assoc[/url].Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}With PHP you can for example use http://www.php.net/mysql_fetch_assoc.
Code: Select all
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
$rs = mysql_query(...);
while ($row = mysql_fetch_assoc($rs))
{
if (is_null($row['date'])
{
// this is the total
}
else
{
// not the total
}
}