MySQL Forums
Forum List  »  MyISAM

Re: search inclose in double quote
Posted by: jean Clariond
Date: June 15, 2012 09:14AM

Thank's for help.
MySQL: 5.0.51a
Extensions PHP used: mysql .Type: MyIsam

Here is the PHP code :

$connect=@mysql_connect(SERVEUR,NOM,PASSE) or exit(mysql_error());
@mysql_select_db(BASE, $connect) or exit(mysql_error());
if ($Kery != '');
{
$requete = "SELECT * FROM Base WHERE MATCH (Champ1,Champ2) AGAINST ('$Kery' IN BOOLEAN MODE) order by Champ1 ";}
$requete=htmlspecialchars($requete);
$result = @mysql_query($requete, $connect) or exit(mysql_error() );

Options: ReplyQuote


Subject
Views
Written By
Posted
2410
June 06, 2012 04:27AM
1337
June 12, 2012 09:43PM
Re: search inclose in double quote
1501
June 15, 2012 09:14AM
1741
June 16, 2012 03:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.