Jump to content

victor_ar

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

victor_ar's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. maybe this helps: echo "<table>"; while(list($id, $name) = mysql_fetch_array($result)) { echo "<tr><a href=\"download.php?id=" . $id . "\">" . $name . "</tr>"; } echo "</table>";
  2. sorry, also use mysql_num_rows instead mysl_numrows
  3. hello, try this: <?php $connection = mysql_connect($db_hostname,$db_username,$db_password); @mysql_select_db($db_database, $connection)or die($db_error); $query="SELECT * FROM pms WHERE to = '" . $_SESSION["username"] . "'"; $result=mysql_query($query, $connection); $num=mysql_numrows($result); mysql_close($connection); ?>
  4. Hello, I used mssql_connect and other function like my the mysql_functions. For example: $connection = mssql_connect("Server","user") // include your password if needed mssql_select_db("table_name", $connection) $result = mssql_query("select * .......", $connection) while ($row = mssql_fetch_array($result)) { // for example echo $row["field_name"] }
  5. Hi, did you try mssql_connect?, is the same as mysql_connect and the other mysql function
  6. hi, could it be using PHP and SQL or only a sql query?
×
×
  • 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.