Im stuck with this simple problem in php:
$words = array();
while ($allrow = mysqli_fetch_array($all))
{
$words = "".utf8_encode($allrow["eng"])."" => "".$allrow["id"]."";
}
foreach ($words[] as $key => $word) {
I wanna have an array with some words and its id. In the foreach loop I need to be able to know which id each word has.