+ 2
Please help, how can i get the actual value of "Balance" from the following code.
$res = mysqli_query ($link, "SELECT Balance FROM restration WHERE username = '...';
4 Antworten
+ 1
next line of code:
$row = $res->fetch_assoc();
echo $row['Balance'];
If multiple rows are returned:
while($row = $res->fetch_assoc()) {
echo $row['Balance']."<br />";
}
+ 1
thank you brother
+ 1
How about safety of these code over mysql injection?