Jump to content

go2go

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Posts posted by go2go

  1. Thanks for your guide. I created a file called test.php as below:

    [code]
    <?
    // file test.php

    $db=mysql_connect('localhost','user','pass');
    mysql_select_db('database',$db);

    $sql = "SELECT * FROM Table_NAME order by round() limit 5";

    $result=mysql_query($sql)or die("query round problam");
    ?>
    [/code]

    The code seems to be working. BUT there was no display of records!!

    I need to incorporate a template to display the 5 random records.

    Any idea, please.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.