Code: Select all
$result = $db->sql_query($sql);
$l_total_user_s = ($total_users == 0) ? 'TOTAL_USERS_ZERO' : 'TOTAL_USERS_OTHER';Moderator: General Moderators
Code: Select all
$result = $db->sql_query($sql);
$l_total_user_s = ($total_users == 0) ? 'TOTAL_USERS_ZERO' : 'TOTAL_USERS_OTHER';Someone has kindly answered your question, but be advised that many readers will ignore a meaningless Subject line like "understanding this." If you make future posts in this forum, please indicate in your Subject line what the nature of your question is. Almost nobody has the time or patience to read every new post. We usually only read those posts that are in our area of interest. By putting a generic Subject on your post, you just about guarantee that the people most likely to be able to answer you will never read your post.m2babaey wrote:I what do these 2 lines do?Code: Select all
$result = $db->sql_query($sql); $l_total_user_s = ($total_users == 0) ? 'TOTAL_USERS_ZERO' : 'TOTAL_USERS_OTHER';
You are right. I'm sorry for that bad title. but no meaningful title came to my mind except including the code in the subject that would be too longSomeone has kindly answered your question, but be advised that many readers will ignore a meaningless Subject line like "understanding this." If you make future posts in this forum, please indicate in your Subject line what the nature of your question is. Almost nobody has the time or patience to read every new post. We usually only read those posts that are in our area of interest. By putting a generic Subject on your post, you just about guarantee that the people most likely to be able to answer you will never read your post.