[PHP-DB] Match Against Query with Integers

2004-07-26 Thread Harry G
Hi Here's the senario... Table 1- members id - firstname - middlename - - country - region3 Fields country and region3 hold the integer codes for country and region3 is state Table 2- country id - countryname Countryname is where the actual Country name is stored and id is the country code

Re: [PHP-DB] match

2002-01-04 Thread David Yee
If you're trying to prevent HTML tags from being submitted then try htmlentities($your_variable). That'll convert for example to <pre>. David - Original Message - From: "louie miranda" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Jan

Re: [PHP-DB] match

2002-01-04 Thread Bogdan Stancescu
Why would this be a problem (i.e. the fact that a user may insert "" in a form field)? If you're worried about security (i.e. users adding JavaScript code) you can always htmlspecialchars() the string... Bogdan louie miranda wrote: > Hi is it possible to match a certain string when a user subm

[PHP-DB] match

2002-01-04 Thread louie miranda
Hi is it possible to match a certain string when a user submit's a form I mean, ex: i put "" on a form field, and php will match it and example deny it, oh well.. im new sorry.. :) thank you mysql_query ("INSERT INTO members (ircname, email, realname, asl, info) VALUES ('$ircname','$email','$rea

[PHP-DB] Match () Against () with mysql & php..

2001-07-23 Thread Koutsogiannopoulos Karolos
Hello again everyone... I am doing some research for a project of mine and i was wondering if someone is familliar with the match () against () function of mysql? I know it returns a number etc 1.4343434 like a similarity number but how can i convert this string to percentage like all the big se