HTML with PHP While statement breaks Elementor
-
This is so strange. I added an HTML Select and added PHP While statement to a Universal Snippet and it breaks Elementor. If you remove the PHP comments, it breaks Elementor. I do this in an Elementor Single Structure section. See the code below:
<form method='POST'> <select name="formLeagueType" id="LeagueType" required> <option value="">Select Your League Type....</option> <?php //while($row1 = mysqli_fetch_assoc($result_LeagueType)):;?> <option value=<?php echo $row1['league_type_id'];?>><?php echo $row1['league_name'];?></option> <?php //endwhile;?> </select> <input type="submit" name="submitCAP" value="Step 2" Style = "color:white; background-color:blue" required> </form>
- This topic was modified 3 years, 2 months ago by .
- This topic was modified 3 years, 2 months ago by .
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘HTML with PHP While statement breaks Elementor’ is closed to new replies.