User Profile

Collapse

Profile Sidebar

Collapse
Gawn
Gawn
Last Activity: Nov 28 '06, 08:27 PM
Joined: Nov 15 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Gawn
    started a topic Any GURU help for "related news" script

    Any GURU help for "related news" script

    Dear all,

    Greeding from Thailand. Need help for my news script. I am trying to display news which keywords match the current page keywords. I am using Dreamweaver 8 and PhpMyAdmin to manage MySQL. May I explain you what I have done. My database and data in that look like this.

    //* Data Base
    Code:
    -- phpMyAdmin SQL Dump
    -- version 2.6.2-pl1
    -- http://www.phpmyadmin.net
    -- 
    -- Host:
    ...
    See more | Go to post

  • Gawn
    started a topic Please help with this code

    Please help with this code

    Hi I am from Thainald and new to PHP/MySQL. I am doing a news website and I can't do the related news, while I can for latest news. My code for latest news is
    "SELECT * FROM news WHERE news_id!=$news_ id AND cat=$cat ORDER BY news.published DESC".
    This work OK for latest news.

    Code for related news is
    "SELECT * FROM news WHERE news_id!=$news_ id AND cat=$cat AND kw LIKE '%$kw%' ORDER BY news.published...
    See more | Go to post
No activity results to display
Show More
Working...