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. likelylad

    PHP to MSSQL

    The physical server on the network is myserver1 and there are no issues pinging this but the database is referenced as myserver1\instance1
  2. likelylad

    PHP to MSSQL

    I use the following code to connect to a MSSQL server and it works successfully $myServer = "myserver"; $myUser = "user"; $myPass = "pass"; $myDB = "thedb"; //create an instance of the ADO connection object $conn = new COM ("ADODB.Connection") or die("Cannot start ADO"); //define...
  3. likelylad

    DD Command

    Was able to solve the issue I ran the mount command to see the list of devices. I then unmounted both drives I then ran the dd command using the device names.
  4. likelylad

    DD Command

    I am completely new to Linux, so please pardon my ignorance on the subject. I am trying to make an exact copy of a Windows formatted 1.44 HD (High Density) floppy disk. From what I have read the DD command in Linux will do the job for me. I am trying to make an exact copy from 1 floppy disk...
  5. likelylad

    Filter List

    Got it to work Had to change it as follows. Event.observe('fltName', 'keyup', function(){filterByName(document.getElementById('fltName').value);});
  6. likelylad

    Filter List

    Bit more information: I think the issue is with the following piece of code Event.observe('fltName', 'keyup', function(e) {filterByName(e);}); In firebug the url shows as adminAjax.php?actionval=getSelect Once I changes the line to: Event.observe('fltName', 'keyup'...
  7. likelylad

    Filter List

    I am trying to get a list of names to be filtered as I type in. The main page is as follows. <html> <head> <title>ajax test</title> <script src="js/prototype.js" type="text/javascript"></script> <script src="js/myAjax.js" type="text/javascript"></script> </head> <body> <div...
  8. likelylad

    Show Records From One Table not in another

    Sorry, the exact query didn't work but jaxtell sent me off in the right direction. The query I got to work is as follows: Select Table1.Name from Table1 Where Table1.Name Not In ( select Table2.Name from Table2 Where Skill='skill3')
  9. likelylad

    Show Records From One Table not in another

    Gives me exactly what I want. Thank You.
  10. likelylad

    Show Records From One Table not in another

    Never thought of sub queries.
  11. likelylad

    Show Records From One Table not in another

    I have one table that contains the following Table1 --------- Name | --------- User1 | User2 | User3 | User4 | User5 | --------- I also have a second table Table2 ------------------ Name | Skill | ------------------ User1 | Skill1 | User1 | Skill2 | User1 | Skill3 |...
  12. likelylad

    Saving Data to Database

    Thanks, it was a copy and paste error. You don't see any thing else wrong that meant I wouldn't have to send it across the url?
  13. likelylad

    Saving Data to Database

    The only way that I could get it to work is by the following http.open('POST','sendtodatabase.php?data='+formattedString,false);
  14. likelylad

    Saving Data to Database

    $test=$_POST['data']; include "connect_to_database.php"; mysqli_select_db($db,"database"); $result = mysqli_query($db,"Insert Into mytable (Field1,Field2,Field3,Field4) Values ('data','$test','data','data')"); In the table, Field1/Field3/Field4 are populated with data but Field2 is empty
  15. likelylad

    Saving Data to Database

    I am using firebug and I can see that post is sending the following data=Product%20Training%7Callitems%7CFirstname%20Secondname%20%3B%3Cbr%3EProduct%20Training%7Callitems%7CFirstName%20FirstName In my PHP page I am using $data=$_POST[data]; send to database code But the variable is not...
  16. likelylad

    Saving Data to Database

    OK I have got it half working The function is now function saveDragDropNodes() { var saveString = ""; var uls = dragDropTopContainer.getElementsByTagName('UL'); for(var no=0;no<uls.length;no++){ // LOoping through all <ul> var lis =...
  17. likelylad

    Saving Data to Database

    I know that this is a stupid question but where does this bit of code go? Below I have put the function that is called when the save button is hit function saveDragDropNodes() { var saveString = ""; var uls = dragDropTopContainer.getElementsByTagName('UL'); for(var...
  18. likelylad

    Saving Data to Database

    I have this drag and drop application and would like to save the location to a database. When I hit the save button all the correct information is sent to the following. <div id="saveContent"></div> How do I get the content sent to the <div> into a database. Thanks in advance for any help...
  19. likelylad

    Dealing with funny chars - nightmare!!!

    Hi Just a long shot. I once had alot of issues with Japanese characters and fixed it by saving the file with encoding set to UTF8
  20. likelylad

    American Date into MySQL

    I have the following date format which I need to input into a MySQL database but I am unable to date so. Fri 3/26/2010 8:38 AM I know it should be simple but I just can not get anywhere on it. I am working on PHP 5.0.2 Very grateful for any help received.

Part and Inventory Search

Back
Top