I must be tired tonight:
$query="SELECT * FROM ImageList WHERE Name='$value[0]'";
$result=mysql_q uery($query, $DB) or die(mysql_error ());
if ($result) {
$InContext=mysq l_fetch_assoc($ result);
echo $query;
print_r($InCont ext);
}
mysql_free_resu lt($result);
No error but $InContext is always empty, although the $query as displayed
runs fine from PhpMyAdmin...
Something escapes me here.
--
Guillaume Dargaud
$query="SELECT * FROM ImageList WHERE Name='$value[0]'";
$result=mysql_q uery($query, $DB) or die(mysql_error ());
if ($result) {
$InContext=mysq l_fetch_assoc($ result);
echo $query;
print_r($InCont ext);
}
mysql_free_resu lt($result);
No error but $InContext is always empty, although the $query as displayed
runs fine from PhpMyAdmin...
Something escapes me here.
--
Guillaume Dargaud
Comment