Hello everyone,
Thanks for taking the time to read my problem.
I am putting values into an array, but I want them to be uppercase when I put them in. How do I convert these words all to uppercase before I put them into the array?
I found something called "strtoupper" but it doesn't seem to be working.
I tried this:
$sql="SELECT Town
FROM Station";
$result=mysql($dbName, $sql);
while($row=mysql_fetch_row($result)){
$Town=$row[0];
strtoupper ($Town);
$townArray[]="$Town";
$n++;
}
Thanks for your help.