Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Pls help ASAP

  1. #1
    New to the CF scene
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Pls help ASAP

    Mam /sir muje yh problem aa rhi hai ki mai jab database se table mai data retrive kar rhi hun in the form of links toh vo sab links mai 1 he address le raha hai inspite of giving different in different rows, i want ki 1 he column ki diffrent row mai different link aaye.But aisa ho nhin raha hai.consider the column uniport id. and Pdb id.And mam 1 cheez aur ki pdb_id k case mai har id mai b diffrent link dena hai in same column.
    Mam/sir if u can help me i will b very thankful to u.


    Below is the code i m using for fetching and displaying data


    while($row= mysql_fetch_array($result))
    {
    echo "<tr>";
    echo "<td>" . $row['Protein_name'] . "</td>";
    echo "\n";
    echo "<td>" . $row['Intro'] . "</td>" ;
    //echo "<td>" . $row['Pdb_id'] . "</td>";
    echo "<td> <a href='medchem.php?Pdb_id='" . $row['Pdb_id'] .
    "' >" . $row['Pdb_id'] . "</a> </td>";



    echo "<td>" . $row['source'] . "</td>";
    echo "<td> <a href=http://www.rcsb.org/pdb/results/results.do?qrid=BB3D5EEE&tabtoshow=Current?uniport_id='" . $row['uniport_id'] .
    "' >" . $row['uniport_id'] . "<a/> </td>";

    "<td> <a href=http://www.rcsb.org/pdb/results/results.do?qrid=EAD8BCF&tabtoshow=Current?uniport_id='" . $row['uniport_id'] .
    "' >" . $row['uniport_id'] . "<a/> </td>";


    echo "<td>" . $row['domain_pfam'] .
    "</td>";
    echo "<td>" . $row['activity'] . "</td>";


    echo "</tr>";
    }

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,299
    Thanks
    57
    Thanked 525 Times in 512 Posts
    Blog Entries
    5
    Perhaps you could rewrite that in 100% english instead of switching between languages?

    You must realise that this is an english website. Therefore it will attract english speaking people and most of them will not understand your language. If you want to describe your problem in your language then perhaps you should use a programming forum in your language.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •