i am trying to link my student list with there profile page

194
April 11, 2017, at 4:33 PM

i want to link each student name from student list with there profile page i have tried but its not working can any one solve this.Thanks in advance.

This is student list code and i am sending data to delete page for deleting any student from list and also i want link there names with there profiles if i want to check there profile.

    <form action="php\student_list_delete.php" method="POST">
<table  id="table_style"  border="1px"  align="center">
        <tr>
        <td colspan="6" style="border-right: none;  border-bottom: none;">
        <h2>Student Information List</h2><b>Dempartment of Computer Sceince</b>
        </td>
        <td style="border-left: none; border-bottom: none;"><img src="images/logo.png" width="80px" height="80px"></td>
        </tr>

<!-- ============= Student Information List header Start here  ============= -->    
            <?php 
                std_list_header();
                ?>

<!-- ================= Student Information List header End here ================ -->    

        <tr class="table_header" >
        <th width="50px">S/N</th>
        <th>Name</th>
        <th>F/Name</th>
        <th>Session</th>
        <th>Semister</th>
        <th>Phone</th>
        <th>Delete</th>
        </tr>

<!-- ================= Student Information List body Start here ================ -->
<?php
    $query="SELECT id,name,fname,phone FROM  student"; 
$resultset=$connection->query($query); 
$count=0; 
while($r=$resultset->fetch_assoc()){
    $count++; 
echo "<tr><td>".$count."</td><td><a href='".$r["id"]."'>".$r["name"]."</a></td><td>".$r["fname"]."</td><td></td><td><td>".$r["phone"]."</td><td><input type='checkbox' name='chb".$count."' value='".$r["id"]."'></td></tr>
"; 
}
?>
<!-- ================= Student Information List body End here ================ -->

        <tr>
        <td colspan="7" align="right"><input type="submit" value="Delete"></td>
        </tr>
</table >
</form>

This is the student profile page code.

function std_table_profile(){
$result=$connection->query("SELECT name,fname,gender,email,phone,address,image FROM student WHERE id='".$r["id"]."'");
$rs=$result->fetch_assoc();
Answer 1

".$res["name"]." to ".$r["name"]."

Rent Charter Buses Company
READ ALSO
How to enable the default &ldquo;product rating review&rdquo; form in product page,In Megento 1.9

How to enable the default “product rating review” form in product page,In Megento 1.9

I'm trying to enable the default rating-review form on my product pageI problem I'm facing is the "Be the first to review the product" is appearing but the link is not working

289
can&#39;t seem to retrieve the variables within the same page

can't seem to retrieve the variables within the same page

i'm a bit new on php and been trying to pass variables from one end to the other, basically I'm trying to create a page where people could see the current data that's stored, and update them if needed by clicking the buttonHowever for some reason, when i'm trying...

204
KCFinder not browsing

KCFinder not browsing

I am using ckeditor with kcfinderIn my localhost with xampp, I can browse, upload and select any image without any problems

317
Two arrays to one chunked

Two arrays to one chunked

I have a two arrays and need to get one from themarray_merge, array_map etc

233