![]() Topic awaiting preservation: PLEASE HELP TO ACHIEVE THIS |
|
|---|---|
| Author | Thread |
|
Neurotic (0) Inmate Newly admitted From: |
posted 08-15-2008 11:53
this is the case scenario of what i want to achieve |
|
Maniac (V) Inmate From: there...no..there..... |
posted 08-15-2008 13:52
what language are you using to do this? PHP? Python? Perl? ASP? Are you using a database? If so, which one? MySQL? SQL? |
|
Obsessive-Compulsive (I) Inmate From: |
posted 08-15-2008 15:21
im using php and mysql db |
|
Maniac (V) Inmate From: there...no..there..... |
posted 08-15-2008 16:06
someone will be along to give you more (or better) help than I can, but... code: $findID = strtolower($findID);
code: $data = mysql_query("SELECT *
FROM `myTABLE`
WHERE `myIDFIELD` LIKE CONVERT( _utf8 '%$findID%'
USING latin1 )
COLLATE latin1_swedish_ci
LIMIT 3 '");
code: while($result = mysql_fetch_array( $data ))
{
$resultID1 = $result[1];
$resultID1 = $result[2];
$resultID1 = $result[3];
}
|
|
Obsessive-Compulsive (I) Inmate From: |
posted 08-15-2008 18:40
thanks...i already worked it out |