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 TouchToneTommy 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: *

  • Users: david6633
  • Content: Threads
  • Order by date
  1. david6633

    PHP Variavles from Mysql

    I am having a problem with php variables that are stored in a mysql table. If I have $text = 'This is some text ' . $var; echo $text;Then I have no problems with the $var being replaced with its value but if I pull that same text from my mysql database the output is "This is some text ' . $var"...
  2. david6633

    explode(0 and html tags

    I have a string that I am trying to explode on each </p> tag using the code $lines = explode('</p>', $text); but it does not work. What am I doing wrong? David Remember: You only know what you know and - you don't know what you don't know!
  3. david6633

    Easy Wat to Add Values in an Array - Please

    I have, for example, and array containing the following: row1_value1, row1_value2, row2_value1, row2_value2, ..., rown_value1, rown_value2 The question is - is there an easy way to add all the "_value1" to get a total and all the "_value2" to get another total without$total1 = $row1_value1 +...
  4. david6633

    Javascript variable to php

    I am sure I have seen this somewhere but I cannot seem to find it again! How do I write a js variable into a php variable? I have tried$data = "document.forms['test'].elements['input0']";but it does not work David Remember: You only know what you know and - you don't know what you don't know!
  5. david6633

    Returning data to Parent Window

    The scenario is that I have a link on a page which opens in a popup window - no problem with that. In the popup window there are links and what I want to do is open the page back in the parent window and close the popup. Is this possible? I have tried searching this forum but cannot seem to...
  6. david6633

    Using Bookmarks in Word Formulas

    First off I realise that Word formulas are not the most user friendly thing that MS has come up with but they make life simple. I have a Word document with several tables in in. I have bookmarked some cells and now I am trying to use the values from the bookmarked cells in calculations in other...
  7. david6633

    Query a NULL Record

    Is there an easy way to test, in a query, whether all of the fields in a record are NULL? I appreciate that it is unusual to create a table that contains all null records but the circumstance that I have requires it. David Remember: You only know what you know and - you don't know what you...
  8. david6633

    Closing a PopUp (again!)

    I am trying with various amounts of success to open a popup window from within a php script when a user logs in and then to close it when they log out. So far I can open the window with this codeecho "<script language=\"JavaScript\">newwindow = window.open('./myfile.php', 'newwindow'...
  9. david6633

    Losing Data Blocks

    I am not sure if this is sendmail related or not - just hoping that someone may be able to point me in the right direction. The problem that I am having is that on some incomming mail servers blocks of data are being lost. I have fairly good proof that it is the mail server that is doing it and...
  10. david6633

    Help with installation please

    I fully accept that I do not understand about installing applications under Linux but I have decided that I need to learn so I am attempting to install sendmail. I am trying to install Sendmail 8.12.11 on Mandrake 9.1 I am following the instructions but I am getting the following error...
  11. david6633

    Selecting From a Drop Down List

    I am sure I have seen the answer to this somewhere in this forum but I cannot seem to find it when I need it! I have a form which is picking up the data from a table and I want to be able to go to a record by selecting a name from a dropdown list which has all the names (in alphbetical order)...
  12. david6633

    Struggling with Where Clause in OpenForm

    I am having a problem with the WHERE clause when trying to open a form. If I use DoCmd.OpenForm "Appointments", , , "LeaderId = 34" then it opens the form with the correct details but if I try to use a variable, as below DoCmd.OpenForm "Appointments", , , "LeaderId = " & Leader then I get...
  13. david6633

    Help with Coding a Loop?

    I cannot quite get my head around this problem so any help would be appreciated. I have created an array from a recordset - the data in which is ok and looks like this: Date Value 14/01/1998 4 28/11/1991 4 04/02/1982 2 30/10/1980 1 12/03/1975 1 What I want to do...
  14. david6633

    Why Does This Code Not Work?

    Can anyone point me in the right direction? I am a bit rusty with VBA (last used in Access 97) I have the following code that, in principle, works. What it is doing is a calculation for output on a report. The problem is that it is using the first record in the database every time. Function...
  15. david6633

    Function Results in a Report

    I am sure that this question must have been asked before but I cannot see it anywhere. My poroblem is that I have not done any VBA programming for quite a while - in fact the last time was in Access 97. I have now graduated to Access 2002 and it has changed! I have written a function to do a...
  16. david6633

    Which httpd?

    I know that this will appear as a bit of a basic question - but I am still relatively new to this Linux thingy. I hav a machine set up with mandrake 9.1, it has Apache 2 installed and running without any problems. My question is which httpd.cong file does it use? I have the following...
  17. david6633

    Auto Logon to Linux

    I have a set up of a desktop machine running XP home, a desktop running Mandrake 9.1 and a laptop also running XP home. All of these machines are connected on a lan through a router. All the machines &quot;talk&quot; to one another but I have a very minor annoying problem in that whenever I try...
  18. david6633

    Window Resize

    Is it possible to resize a window on opening based on a parameter calculated when the window opens? For example I want the window to accomodate a title which I will be retrieving from a database. I have no problem with the calculation - it is just what code to use to resize and how to...
  19. david6633

    Window Manipulation

    I am yet another newbie to JavaScript but can sometimes manage to find my way around it - so please bear with me. I have searched through this forum and although there are some similar topics I cannot find one that completely answers my questions. What I am trying to do is this: I have a page...

Part and Inventory Search

Back
Top