Answers for "how to get name through id from mysql using php"

PHP
0

how to get name through id from mysql using php

<?php
                   $value = $res['id'];
                   $selectquery2 = " select id,name from table where id = '$value'";
                                $resu2 = $database->query($selectquery2);
                                if ($res2 = mysqli_fetch_array($resu2)) { ?>
                                    <td name="id"><?php echo $res2['name']; ?></td>
                                <?php }
                                ?>
Posted by: Guest on August-09-2021

Code answers related to "how to get name through id from mysql using php"

Browse Popular Code Answers by Language