I think my structure may be wrong on this page but I've gone too far to change it and now trying to make the best of a bad situation.
I have a large list of items in drop down.
an example is :
<li><a href="conversion.php?conversionType=accelerationAngular">Acceleration - Angular</a></li>
What I'd like to use is something like :
<h4><?php
if ($conversionType == null){
echo "Please select a category";
}else{
echo "Current Category : " . $conversionType;
}
?>
</h4>
to display what the current selected category is. The above works but it doesn't display "Acceleration - Angular", it displays accelerationAngular which of course is how I've named the values to be passed onto another page.
Is there a way I can extract the name of the li element ?