Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End multiple tabels in php

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28802
    ahmed
    Member

    hi
    i want to know how can i show a result of mysql qury in multiple tables please?
    this my code :

    Code:
    $result = mysql_query(“SELECT * FROM mnaa
    WHERE patient_name=’$_POST[print]'”);
    echo “

    “;

    while($row = mysql_fetch_array($result))
    {
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    }
    echo “

    Person Name Doctor Name Age Sex Date
    ” . $row[‘patient_name’] . “ ” . $row[‘d_name’] . “ ” . $row[‘age’] . “ ” . $row[‘sex’] . “ ” . $row[‘dat’] . “

    “;
    echo “

    “;

    while($row = mysql_fetch_array($result))
    {
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    }
    echo “

    Pregnancy Test TOXOPLASMA AB
    Test Result TEST RESULT LEVEL
    S . TYPhi – o: ” . $row[‘S_TYPhi_o’] . “ ” . $row[‘d_name’] . “ ” . $row[‘age’] . “ ” . $row[‘sex’] . “ ” . $row[‘dat’] . “

    “;

    #74956
    Rob MacKay
    Participant

    I found this quite enlightening on the subject :)

    http://www.astahost.com/info.php/Mysql- … 12815.html

    #74930
    ahmed
    Member

    thanx for the reply
    but i dont ment that thing
    i mint how can i show the result of the query in two tables with php?
    thanx advance

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.