|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: |
$ts_last_month = strtotime('-30 days');
$query = "SELECT
node_q_data.timestamp AS timefield,
node_k_data.user_count AS users_k,
node_l_data.user_count AS users_l,
node_m_data.user_count AS users_m,
node_n_data.user_count AS users_n,
node_r_data.user_count AS users_r,
node_o_data.user_count AS users_o,
node_p_data.user_count AS users_p,
node_q_data.user_count AS users_q
FROM
node_k_data,
node_l_data,
node_m_data,
node_n_data,
node_r_data,
node_o_data,
node_p_data,
node_q_data
WHERE
node_k_data_id = node_q_data_id
AND
node_l_data_id = node_q_data_id
AND
node_m_data_id = node_q_data_id
AND
node_n_data_id = node_q_data_id
AND
node_r_data_id = node_q_data_id
AND
node_o_data_id = node_q_data_id
AND
node_p_data_id = node_q_data_id AND node_q_data.timestamp > '$ts_last_month'";
$result = mysql_query($query, $connection) or die(mysql_error());
while($row = mysql_fetch_assoc($result)){
$timestamp = date('d-m-y H:i',$row['timefield']);
$users_k = $row['users_k'];
$users_l = $row['users_l'];
$users_m = $row['users_m'];
$users_n = $row['users_n'];
$users_r = $row['users_r'];
$users_o = $row['users_o'];
$users_p = $row['users_p'];
$users_q = $row['users_q'];
echo "$timestamp;$users_k;$users_l;$users_m;$users_n;$users_r;$users_o;$users_p;$users_q\n";
}
|
Advertisement
| Hall of Fame |