So I have this particular feature in my program wherein I want it to count all the Malls with value = 2 Robinson's Manila. However, there is an error since the apostrophe is seen by the program as a closing mark for the text.
Here's my code for that particular feature:
<form action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" method="GET">
<select name="formStats">
<option value="Rob">Robinson's Manila Stores</option>
<option value="MoA">Mall of Asia Stores</option>
<option value="GG">Greenbelt/Glorietta Stores</option>
</select>
<input type="submit" name="formSubmit" value="Submit"/>
</form>
switch ($varStats)
{
case "Rob": $show = "Mall = '2 Robinson's Manila'"; break;
case "MoA": $show = "Mall = '3 Mall of Asia'"; break;
case "GG": $show = "Mall = '1 Glorietta/Greenbelt Complex '"; break;
}
I think I need to use the ` mark but I'm not sure with the exact syntax.