This the tag i created for country code and phone number and i want to set it’s value fetched from database
<div class="form-group right-phone">
<label for="phone_id" class="label-title">Phone number *</label>
<br><select type="number" class="form-input-coun-cd" id="countrycd">
<option value="">Select your State</option>
</select>
<input type="number" id="phone_id" class="form-input-phone" placeholder="Enter your phone number" value="<?php echo $_SESSION['phoneNo'];?>"/>
<span id="phonenoError" class="error"></span>
</div>```