Jump to content

aurheim

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

aurheim's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Found this http://www.phpfreaks.com/forums/index.php/topic,132142.0.html Problem solved
  2. Use SQL Server Configuration Manager to check if it is configured to handle any TCP/IP, VIA and Named Pipes traffic. I belive that it will not handle any trafic default afther installlation. You will find the util under Configuration Tools under your sqlserver folder.
  3. Im just a beginner, but it seams that you havent changed Database from database 1 to 2 before you started to use database 2. MSSQL returned: Invalid object name 'EarnRate' probably means that sqlserver could not find the database, probably because it still is using database 1... Just a taught.. $conn = mssql_connect('localhost,1433','userid','pw'); $selected_db = mssql_select_db("database1", $con); DO SOMETHING $selected_db = mssql_select_db("database2", $con); THEN SOME MORE...
  4. I have a object that will recive an array and make an optionbox out of it. Problem: It seams that im only able to copy the last result over to the array $enheter.Anyone able to point me to the right direction? $enhetquery = "SELECT EnhetsId,EnhetsNavn FROM tEnhet"; $db=new base(); $con=$db->connect(); $valg=$db->kompetansebase($con);//chooses DB $res=$db->ask($con,$enhetquery); $enheter=""; for ($i=0;$i<mssql_num_rows($res);++$i){ $enheter= mssql_fetch_row($res); }
×
×
  • 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.