Help me with SEARCH Function
Hello.
the first, I affirm that search function of phpns very good, but only for English language.
allow me to description my problem:
I have build my homepge not using shownews.php file. it display all articles for guests visiting. on that I allow guests to type something characters to search in all category:
<form ...action=
<input type=text name="keyword">
display.php
$keyword=
........
$sql="SELECT * FROM ".$databaseinfo
WHERE article_title LIKE '%".$keyword."%'
OR article_text LIKE '%".$keyword."%'
OR article_exptext LIKE '%".$keyword."%'
ORDER BY id DESC";
@$childResult = mysql_query($sql);
.........
will not problem if search the keyword on title of article or all in use is english language.
while all my articles is storing with mother language (not english).
please help me.
thansk
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- phpns Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- alecwh
- Solved:
- Last query:
- Last reply: