Sitemap

    Welsh Rugby Charitable Trust homepage
  • Trustees
  • Donations
  • Finance
  • Testimonials
  • News Error mysql query!
    '. 'Error: ' . mysql_error() . '

    '); } echo '
      '; while ($getcategory = mysql_fetch_array($content)) { $id = $getcategory['id']; $category = $getcategory['category']; echo '
    • '.$category.''; // The basic SELECT statement $selectnews = "SELECT *"; $fromnews = " FROM rss"; $wherenews = " WHERE category = '$id'"; $read_news=@mysql_query($selectnews . $fromnews . $wherenews); if (!$read_news) { exit('

      Error mysql query!
      '. 'Error: ' . mysql_error() . '

      '); } echo '
        '; while ($get_this = mysql_fetch_array($read_news)) { $news_id = $get_this['rssid']; $news_name = $get_this['rssheader']; echo '
      • '.$news_name.'
      • '; } echo '
    • '; } echo'
    • Display All
    '; ?>
  • Contact