Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. plarsen

    ASP and connectionstring to SQL 2005

    Thank you for your response wvdba But I have already checked connectionstrings.com, and they couldn't provide me with at solution. Could the reason be that the SQL server or the Webserver are not set up to ASP/SQL2005?
  2. plarsen

    ASP and connectionstring to SQL 2005

    Hi I have an ASP application what used to use an SQL 2000 database, but as we want to upgrade our server farm I need to connect to a SQL 2005 database instead. I have tried changing the connectionstring in many different ways but it will still not connect to my 2005 database. My current...
  3. plarsen

    identify session with session.use_trans_sid set to 0

    Hi sleipnir214 Thank you for your reply, I changed the $HTTP_SESSION_VARS to $_SESSION and it worked fine again. Thank you so much. Cheers, Peter L.
  4. plarsen

    identify session with session.use_trans_sid set to 0

    Hi My new host has session.use_trans_sid set to 0 (Off) and I have place in my code that says <? global $asess_name, $asess_passwd, $asess_data; session_register("asess_name"); session_register("asess_passwd"); session_register("asess_data"); global $login, $passwd; $asess_name = $login...
  5. plarsen

    Including a second language file

    Hi Jakob Here are the code to send a notification of a new message in the system. require_once("lang/de.inc.php"); //The user logged in are from Germany, therefor the de.inc.php language file ..... function message_sent($recipient, $sender) { if (is_a($recipient,'User') &&...
  6. plarsen

    Including a second language file

    Hi I have a script with 2 language files (german and danish). First i include the german language file because the user is german, then the user sends a message to a danish user and that triggers an e-mail to the danish user, but the danish user gets a german e-mail instead of a danish. I...
  7. plarsen

    POST with two buttons

    It is place inside the form-tag below the list! </td> </tr> </table> <button type="submit" id="accept_img" name="accept_img" value="1" title="Accept selected images" class="submit"> <img src="img/button_green1.png" alt="Accept"> </button> <button type="submit" id="decline_img"...
  8. plarsen

    POST with two buttons

    the buttons: <button type="submit" id="accept_img" name="accept_img" value="1" title="Accept selected images" class="submit"> <img src="img/button_green1.png" alt="Accept"> </button> <button type="submit" id="decline_img" name="decline_img" value="0" title="Decline selected images"...
  9. plarsen

    POST with two buttons

    The images surrounded by <A> tag isn't those that give me trouble, it is the two button with the <Button> tag. The images that submits through the URL, are working as they should. /Peter
  10. plarsen

    POST with two buttons

    Hi all I hope someone can help me with this small but annoying problem. I have search for help, but was not able to find any on this issue. On a page I have a list with a checkbox in front of each line there the user can select multiple and then click either a approve button or a decline...
  11. plarsen

    Invalid argument supplied for foreach()

    I think that $countries is an array. Here is the code for the country.php file. <?php require_once("classes/Countries.php"); if (isset($_GET['country'])) { $country = new Country; $country->from_iso2($_GET['country']); $country->register_session()...
  12. plarsen

    Invalid argument supplied for foreach()

    Hi I have the a foreach loop in my code, but i'm getting "Invalid argument supplied for foreach()" error. At the beginning of the file i have these two lines: require_once("classes/Countries.php"); $countries = new Countries; And later on i have these lines: if (...
  13. plarsen

    VB deletes value in textbox during run time

    Hi I have a button on my form and then the code from that button runs, without stepping through the code, it deletes the value of the txtRunnerNumber textbox that has been inserted by the code earlier on. Why does the code deletes the value and not then i stepping through the code? My code...
  14. plarsen

    Inserting labels from array

    Thanks alot jpadie. /Peter
  15. plarsen

    Inserting labels from array

    Hi I'm programming a language option, that displays labels in the correct language, but i have some trouble inserting the array values into the page. I have the following: <? // Setting up a query with all labelids and the labeltext if ($lang) { $lab = mysql_query("SELECT labelid, english...
  16. plarsen

    Use $cat instead of $_GET['cat']

    Hi I have a shopping system, that has several $ command but it will not work. I can use $_GET command however, but the other command is much easier to use and remember. Are there anyone who can explain why i can't use then $ command anymore? Thanks Peter Larsen
  17. plarsen

    Error in INSERT INTO statement

    Thanks SiJP Now it works fine with another ajustment (wrong table name)! / Peter 'knirke' Larsen http://knirke.dk?lang=engl
  18. plarsen

    Error in INSERT INTO statement

    Here is the complete function! Public Function test() Dim SQLstr, SQLstr1 As String Dim i As Integer DoCmd.SetWarnings False i = 0 lm = -1 lp = 1 SQLstr = "INSERT INTO tblReportNoWork (ReportNo, [Level], FirstCFMReportNo, CFMCase, ListMonth, CFMItemno) " _...
  19. plarsen

    Error in INSERT INTO statement

    Hi I have made a query in Access XP and want to use it as a docmd.RunSQL statement in VB, but i get an "Syntax error in INSERT INTO statement" error. My sql statement look like this: INSERT INTO dbo_tblReportNoWork ( ReportNo, [Level], FirstCFMReportNo, CFMCase, ListMonth, CFMItemno ) SELECT...
  20. plarsen

    Error in getting innertext

    Hi Dan Nothing changed! I am still getting an error: Error: Object doesn't support this property or method The error occures in the line with: if (document.getElementById(flt).innertext == &quot;&quot;) { I hope you or anyone else can help me! /Peter

Part and Inventory Search

Back
Top