Hello i want to calculate three parameters.
one X two X three = Y
The one is the value of a <input type="number"> the second is default the value '1' and the third is the count of this
$sql = "SELECT uid, username, name, profile_pic FROM users";
$result = mysqli_query($db,$sql) or die(mysql_error());
if(mysqli_num_rows($result))
{
echo '<ul class="list">';
while($row = mysqli_fetch_array($result))
{
$str = strtolower($row['username']);
$user_image=$base_url.$upload_path.$row['profile_pic'];
echo '<li><a id="'.$row['uid'].'"><img src="'.$user_image.'" /> '.$str.'</a></li>';
}
echo "</ul>";
}
any help?