sql

    Date: 07/31/07 (Code WTF)    Keywords: no keywords

    if admin then
    fillgrid('select avg(r_price) from t_rec where r_type = 1 and r_g_id = '#39'%s'#39,0,6)
    else
    fillgrid('select distinct 0 from t_rec',0,6);

    Source: http://community.livejournal.com/code_wtf/96820.html

« IDEA || xkcd::getRandomNumber() »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home