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!

Recent content by bradoirs

  1. bradoirs

    Dynamic creation of variable to apply a style

    Just as a matter of interest I tried to apply a max-width using same method but without success - any suggestions please? document.getElementById("pixb" + i).style.max-width="20%";
  2. bradoirs

    Dynamic creation of variable to apply a style

    Easy as that... many thanks
  3. bradoirs

    Dynamic creation of variable to apply a style

    Very new to Javascript and trying to run before I can walk but I am trying to use a javascript routine to change styling dynamically - I have a number of <Div> with generated IDs pix1, pix2 pix3 etc and images with an onclick function example hidepix(1), hidepix(2) etc. I am trying to write a...
  4. bradoirs

    Error trapping of xml in php

    I have recently ventured into the world of xml and am successfully updating data from an xml file but am having difficulty when there is a problem in the xml. I have solved the problem of trying to copy a file that is missing using file_exists but my latest issue doesn't even allow me to reach...
  5. bradoirs

    writing a PHP command as a string

    I want to call a PHP function based on information extracted from a form with javascript hard-coded works fine: if (x=="BSP"){ if (b){ var thecontent="<?php distincttype('BSP') ?>"; document.getElementById("BSP").innerHTML =thecontent; }else{ document.getElementById("BSP").innerHTML =""; } }...
  6. bradoirs

    Connecting to existing MS Access database

    Perfectly good application wont run on new laptop so tryingto re-code but database access problems. Running visual studio express on windows 8.1 how do I connect to an existing Access (MDB) database - plain english sort of "idiot guide" please or pointers to good (up to date) tutorials
  7. bradoirs

    Copy content of a PHP/mySQL page

    The answers when you get them are always so simple but very gratefully received. Once again thanks for your help
  8. bradoirs

    Copy content of a PHP/mySQL page

    For reasons too complicated to explain I would like to read the contents of a page generated "on the fly" using PHP with mySQL to save as an archive file. Simple code: $url='blanca.html'; $str = file_get_contents($url); echo $str; works great with standard HTML files but...
  9. bradoirs

    Count one field within a distinct query on another?

    Spot on - thank you so much
  10. bradoirs

    Count one field within a distinct query on another?

    Hi and thank you so much but it is not quite what I am trying to do - I am trying to count how many users viewed ech property ignoring multiple viewings by a user. So for example if user1 has viewed property1 x 2 property2 x 3 property3 x 4 and user3 has viewed property1 x2 only the results...
  11. bradoirs

    Count one field within a distinct query on another?

    Help please I have table with two key fields varUser and varProperty - I am trying to count varProperty within a distinct varUser query to count varPropeerty only once for each user. SQL not my strongpoint and I can get a distinct or a count but not both.
  12. bradoirs

    Memory implications of sending email

    Thank you so much I understand the reasons why there is a memory useage but should that memory not be released once the email procedures are complete or is there some way to release the memory manually?
  13. bradoirs

    Memory implications of sending email

    Windows php4 (yes I know there is 5 now) and mysql
  14. bradoirs

    Memory implications of sending email

    I have recently converted a subscription only newsletter to email sending email with attachment. All works well even when looped to send multiple emails from database. What is noticeable is that after sending even a few everything seems to slow down after emails have been sent - is there some...
  15. bradoirs

    Passing variables from javascript script to PHP function

    Way out of my depth here but it nearly works so where am I going wrong (apart from trying it in the first place) What I am trying to achieve is to take multiple values from a picklist then using a PHP function to create another picklist based on the results. So far the code creates an SQL...

Part and Inventory Search

Back
Top