MySQL ERROR: (1054) Unknown column 's1.id' in 'on clause'

QUERY: SELECT s1.id AS `id`, s1.lft AS `left`, s1.rgt AS `right`, s1.level AS `level`, IF(s1.lft = s1.rgt-1, '0', '1') AS `has_children` , d.id,d.title,d.search_title FROM ad_cat_struct AS s1, ad_cat_struct AS s2 LEFT JOIN ad_cat_data AS d ON s1.id = d.id WHERE s2.id = 146 AND s1.lft <= s2.lft AND s1.rgt >= s2.rgt ORDER BY s1.lft


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/haircar/public_html/lib/nstree/NSTree.class.php on line 711

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/haircar/public_html/lib/nstree/NSTree.class.php on line 711

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/haircar/public_html/lib/mysql.class.php on line 291

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/haircar/public_html/lib/mysql.class.php on line 292
Winter Hair Help Hair Care Article Directory
 
Hair Loss Articles

 

Our hair has it rough all year long: Soggy springs leave it limp and lifeless; steamy summers bring out frizz; always-changing autumns mean a combination of flatness, frizz, and tangles. But winter? It assaults hair in the worst ways. Read on for tips on how to beat the trickiest winter problems                                                   

        woman looking at camera

Problem: Dry, fuzzy ends Solution: Schedule trims religiously -- every four to six weeks -- to prevent fried ends from getting worse. Stock up on a conditioner that's richer than your summer conditioner, and try an ultra-moisturizing hair mask every week.

Problem: Static and flyaways Solution: Spritz on a leave-in conditioner before you style; this helps to weigh hair down. When hair is dry, apply a small dab of shine serum with your hands, or mist on a light dose of hairspray. In the worst cases, rely on hairstylists' age-old solution: Spray a brush with Static-Guard, and run it through your hair.


Article Source: http://www.haircarearticles.com/article/Winter-Hair-Help



Please rate this article

 
The article is not rated yet!
Be the first to rate it!
Total views: 242

Post your comment on this article

  • by
  • by