Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter dolonmahi

    (@dolonmahi)

    Hi,

    is there any solution?. I think this is the bug into wordpress. I am really disappointed, because i applied it with the simple PHP fetch code and it’s ok. following is the PHP sample code

    <?php
    $results=”SELECT * FROM mytable”;
    $results=mysql_query($results);
    $row=mysql_fetch_array($results);

    if(mysql_num_rows($results))
    {
    while($row=mysql_fetch_assoc($results))
    {
    echo $row[‘1’];/*(Works Fine)*/
    echo $row[‘1’]; /*(Works Fine)*/
    echo $row[‘mycolname’]; /*(Works Fine)*/
    }
    }

    ?>

Viewing 1 replies (of 1 total)