I need to select ids from database with arrays. my english not good. I think the best way to show my codes
the form result print_r($malayalam);
like this Array ( [0] => helo [1] => hi[2] => how)
I need to select its ids from table. my code is not correct. any way let me show you here
$results=mysql_query("SELECT ml_id FROM ml_table WHERE word = '$malayalam'");
$numrows=mysql_num_rows($results);
if($numrows!=0){
$ml_row = mysql_fetch_array($results);
$ml_id = $ml_row['ml_id'] ;
echo "Malayalam ID " . $ml_id . "<br />";
}
I need to add all my result in to another array.
is that possible ? if u have any idea could you answer to me please