Matej Hanzlić:
i'm new to php and what im trying to do here is add rating +1 for specific id (1,10,30....) whenever i press arrow up button.
I need to add id value (echo $row['id'];) to mysqli_query() somehow. Can someone help please? :)
Related Articles
$sql = "SELECT * FROM gifs";
$result = mysqli_query ($db,$sql);
?>
//Fetch data from database
if ($result -> num_rows >0){
while($row = mysqli_fetch_array($result)){
?>
$add = $row['id']; //i know this dosnt work...
">
How do i translate ($row['id'];) into mysqli_query( id = ?)
Thank You
Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE