I am storing a string in a mysql database in the following format:
$row["actions"]= Add&&Remove&&Replace&&Change&&
I need to splice each one of those into a check box html form for example
while{
echo $row["actions"];
//this would be the string to cut up
}
for each before && as cut {
<form action="" method="post">
//name would be add
<input type="checkbox" name='$cut[0]' value="Bike"> I have a bike<br>
//name would be Remove
<input type="checkbox" name='$cut[1]' value="Bike"> I have a bike<br>
//name would be replace
<input type="checkbox" name='$cut[2]' value="Bike"> I have a bike<br>
<input type="submit" value="Submit">
</form>}