I hope someone will help me with this. :( Here's my error message. Thank you in advance.

And also here's my code.
<tr>
                <td><label for="cname">Client Name:</label></td>
                <td><select name="cname" id="cname">
                        <option>Choose</option>
                        <?php
                            include("alqdb.php");
                            $result=mysqli_query($con, "SELECT ClientName FROM events");
                            while($row=mysqli_fetch_assoc($result)){
                                echo "<option>".$row["ClientName"]."</option>";
                            }
                        ?>
                        </select>
                </td>
            </tr>
            <tr>
                <td><label for="survey">Survey:</label></td>
                <td><select name="survey" id="survey">
                        <option>Choose</option>
                        <?php
                            include("alqdb.php");
                            $result=mysqli_query($con, "SELECT * FROM events WHERE ClientName = '"$_POST['cname']"'");
                            while($row=mysqli_fetch_assoc($result)){
                                echo "<option>".$row["EventTitle"]."</option>";
                            }
                        ?>
                        </select>
                </td>
            </tr>
 
     
     
     
    