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 Mike Lewis 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: tsetsuit
  • Order by date
  1. tsetsuit

    insert into syntax error

    great thank you. I knew it could conflict from a $_post[name] but i didn't know the row names could conflict. Thank you very much for help.
  2. tsetsuit

    insert into syntax error

    oh and sorry here is my connection string forgot i had it on another page $con = mysql_connect("localhost","root","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("calendar", $con); and yes i changed my password to the word 'password' for...
  3. tsetsuit

    insert into syntax error

    having a bit of an issue inserting some data into one of my mysql tables using php post from a html site. Keeps getting an error msg stating "Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near...
  4. tsetsuit

    machine type from registry and execute msi based on it

    a good way to do this is use WMI to get the model and then put some select case statements in to with a for each loop. This is something easy but in order to build it need to know where you are looking to find all the PC and list of all the installs. What I would really do is get a grasp on...
  5. tsetsuit

    WMI return not showing incorrect results

    update on info. found a fix. some reason it doesn't like it when assign variables to the query strings. I changed the code to what is listed below and everything is running smooth now. no idea why it didn't like the variable for the query string. All the errors I get are as they should be now...
  6. tsetsuit

    WMI return not showing incorrect results

    Ok I didn't go into work today, still sick so I just rebuilt it like I have it on my flash drive at work. I can't test it right now because I am fixing my VPN connection which I am sick and not to motivated to do that. So you can test this. It should post all the error codes in the excel...
  7. tsetsuit

    WMI return not showing incorrect results

    To be honest hannable80 I still don't have a resolve for this. I keep getting error codes back on systems I should not get that error from. I don't have the full code on me right now, it is on my flash drive I left at work. I will post what I have come up with so far tomorrow and just so you can...
  8. tsetsuit

    WMI return not showing incorrect results

    oh and thank you PHV for your assitance.
  9. tsetsuit

    WMI return not showing incorrect results

    for each Computer in aMachines wmiroot = "winmgmts:\\" & Computer & "\root\cimv2" Err.Clear set objwmi = Getobject(wmiroot) If Err.Number <> 0 Then wscript.echo err.number else wmiquery = "select * from Win32_SystemEnclosure" set colsnnm = objwmi.execQuery (wmiQuery)...
  10. tsetsuit

    WMI return not showing incorrect results

    I have on error resume next at the top because first 25 things this query hits are servers and it will prompt with a "access denied". I did a if computer.name = "computer name array" then next else run script end if didn't want to list all my servers in this script on the net so I...
  11. tsetsuit

    WMI return not showing incorrect results

    set objwmi = Getobject(wmiroot) is already set higher in the page and I never closed it out so I should not have to set it again but I did try it out same results. just as an example to get what it is doing. computer name Model comment Computer1 Lenovo This is...

Part and Inventory Search

Back
Top