How can you display multiple values from the same mysql field using php and mysql
Here is the code I have already
<?php
if(!empty($skill) || !empty($years) || !empty($rating)){
if (!empty($skill))
{
echo '<p>' . $skill . '</p>';
}
if (!empty($years))
{
echo '<p>' . $years . '</p>';
}
if (!empty($rating))
{
echo '<p>' . $rating . '</p>';
}
}
?>
What I'm trying to ask is that I want the above code to loop the above three echos contents and variables until the data entered into the database is fully displayed for example if the user entered 1-100... different skills, years and ratings display all the entered data.
I hope I'm explaing it right