Hi,

I'm working through the (very good!) PHP/MySQL tutorial on http://www.webmasterbase.com but I'm having some basic trouble extracting the 'ID' field from my rows. The following code:

while($row = mysql_fetch_array($result))
{
$jokeid = $row["ID"];
$joketext = $row["JokeText"];
echo("<P> $jokeid:$joketext </P>");
}

Will extract the 'JokeText' but the 'ID' is always blank (yes there is an ID field in the table!)

Can anyone guess at what I'm doing wrong?

Thanks,
Neil.