I am not sure where I am wrong here. I am doing it like I always used to do but the form variables are not getting passed to the URL.
My code is below:
<form id="update_submit" name="update_submit" method="post" action="profile_update.php" >
<h3 class="ghj" style="color:white">
<input style="background:rgba(0,0,0,0);border:2px solid #D8D8D8;color:white;" type="text" id="name1" name="name1" value="<?php echo $fullname_1; ?>" required /> |
<input style="background:rgba(0,0,0,0);border:2px solid #D8D8D8;color:white" type="text" id="city" name="city" value="<?php echo $city_1; ?>" required />
</h3>
<div class="bs-example">
<table class="table">
<tbody>
<tr>
<td style="color:white">
<h1 style="color:white;font-size:150%" class="head" id="h1.-bootstrap-heading">
<span style="background-color: black;">
<input style="width:400px;background: grey;border: 2px solid #D8D8D8;color:grey" type="text" id="email" name="email" value="<?php echo $email_1; ?>" required disabled />
</span>
</h1>
<span style="background-color: black;">
Phone : <input style="background: rgba(0, 0, 0, 0);border: 2px solid #D8D8D8;color:white" type="text" id="phone" name="phone" value="<?php echo $phone_1; ?>" required />
</span>
</td>
<td class="type-info"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="submit-btn">
<input type="submit" value="Update" style="background-color: #585858;color:white">
</div>
</form>
Any help will be highly useful.
profile_update.php) without adding them to the URL$_POST?