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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by darrellblackhawk

  1. darrellblackhawk

    PHP with Ajax Intergration

    Yes... This should be in the JavaScript forum...
  2. darrellblackhawk

    Compare XMLDOM structures

    Unfortunately it would probably be a lot easier to use something like XMLSpy. You could do it with Delphi, but if the structures are anything other than extremely simple, it will be an inordinate amount of programming - me thinks.
  3. darrellblackhawk

    Link in xml

    I don't understand your problem. The information you posted appears to be just html. And... It appears you're using an Internet Explorer only XML Data Island. (A big no no, unless you're absolutely positive your users will be only using IE)
  4. darrellblackhawk

    First record is blank when I display xml on php page

    I looked at the JamBase's api and couldn't see anything that would create a blank record. That being the case, I have to assume the problem is in your parsing of the XML. Since we/I can't see your code, it would be impossible to help without it. Maybe post the section where you're parsing the...
  5. darrellblackhawk

    User redirection after a log-in...

    As the others mentioned, when the user logs in, regenerate the session id. That regeneration has to be accomplished before anything else gets sent to the browser.
  6. darrellblackhawk

    need help with query - perfromence probelm

    Are ID and WITH_ID of different types? If so, they shouldn't be. It sounds like ID and WITH_ID are used for a parent-child relationship or better stated for use in self-joins. Is this true? If so, the typical setup would be for the fields to be integer with indexes set. i.e. ID - integer...
  7. darrellblackhawk

    data extraction from a table with 20Million records

    As DonQuichote says: "What does explain say?" If as you've posted, cid_1 is the primary key, it shouldn't take anywhere near that long. It sounds like somehow the engine's doing a row scan of the table.
  8. darrellblackhawk

    Query That Averages Rent Based off of Bedrooms

    I'm unfamiliar with Cold Fusion, so someone else will need to help with this.
  9. darrellblackhawk

    Query That Averages Rent Based off of Bedrooms

    add a group on bedrooms clause
  10. darrellblackhawk

    LDAP auth page not working

    Am I missing something here. I don't think your code is working the way you intended. e.g. $ds = 0; if (!'ds') { echo 'could not connect'; } else { echo 'we connected'; } In a few places in your code you've done something similar. i.e. $ds = ldap_connect($ldaphost); //Can't...
  11. darrellblackhawk

    PHP connection to access via ODBC

    You might want to try outputting some debugging info which brackets the connection. i.e. 1- output to log (time, some-unique-id, opening-connection) 1a - output to log (time, open successful | open fail) 2- access dsn 3- perform queries 4- output to log (time, some-unique-id...
  12. darrellblackhawk

    An easy mistake to make

    I wouldn't view the operator as commutative, but in math (not php operator math) it is. As you've found, $a =+ 3 is assigning a positive 3 to $a; just as $a =- 3 would assign a negative 3.
  13. darrellblackhawk

    Multiple option selections, how to pass to MySQL

    Change the select name to: skills[]. Then the receiving script will receive skills as a zero indexed array. i.e. Array ( [skills] => Array ( [0] => perl [1] => php [2] => html ) ) <div class="required"> <label for="skills">Required Skills:</label> <select name="skills[]"...
  14. darrellblackhawk

    Associative Array Question

    $ingredientID["$name"] = $masterID; would work, but you'd want to have already initialized $name. The code you've shown would throw a PHP Notice Error (Notice: Undefined variable: name...) and the array row $ingredientID["name"] would translate into: $ingredientID[""] == the value of...
  15. darrellblackhawk

    How do I make the menu bar for selected page different?

    Do you have any dynamic programming capabilities on the site?

Part and Inventory Search

Back
Top