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 SkipVought 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. BiggerBrother

    RAID array of drives completely wiped

    And thats the best thing about this site - completely un-biased opinions! You have no idea how much these responses have helped! Stars all round. BB
  2. BiggerBrother

    RAID array of drives completely wiped

    last week my server suffered catastophic data loss. the basic server setup is one server with RAID with four drives attached. the sequence of events was a series of input/output read/write errors where the drives had reportedly gone into read-only mode. the server was rebooted on three...
  3. BiggerBrother

    Rookie needing pointed in the right direction

    What you want is an order by statement, and then jsut change the date to show the whole year. So your statement would look a little like this: Select * from table where date_field > [start_of_year] and date_field < [end_of_year] order by date_field asc, staff_name This will order everything...
  4. BiggerBrother

    Return 2 random records per group......?

    Ok, so its friday afternoon again, and here's the issue at the end of a long week! I have a table, with IDs and TYPEs. What I need to be able to do is return a recordset with 2 random records for each TYPE. There are 30,000 records in the db, and 150 types, and I'm trying to avoid running 150...
  5. BiggerBrother

    Capitalise All but 1 letter

    Very nice, neat solution. Thanks - have a star! BB
  6. BiggerBrother

    Capitalise All but 1 letter

    Ok, I know when I'm beat, and this might well be one of those times. I have 40 menus, and now I need to change the style of all the menus to capital letters. Using the text-transform property, this is easy enough, and works great. The only issue I have is that one word is McGrath, which I...
  7. BiggerBrother

    Dynamically encrypt a PayPal &quot;pay now&quot; button.

    You may want to checkout http://www.paypaltech.com/Dave/api_sourcebook/html/ewp/ewpphp.html . This provides you with the OpenSource Classses required to generate any encrypted buttons within your PHP script. Good luck BB
  8. BiggerBrother

    Passing XML to WebService

    Ok, this is probably something simple, and I'm just not getting it. I'm running php4, and I need to send XML data to a WebService. I'm a conmplete beginner when it comes to XML and webservices, so any help, or pointers to a tutorial would be great. Currently I have generated the XML data, and...
  9. BiggerBrother

    Returning a column with row information

    How do you do it? Everytime I get stuck with a little SQL query issue, there you are with the answer. Everytime! Thanks again, and have another star. Cheers BB
  10. BiggerBrother

    Returning a column with row information

    Ok, I know that isn't particularly good practice, but I hope there is an easier solution. I have two tables, customer and customer_phone. The customer table has an id col, cust_id, which links the two tables. The phone table has a number col, a type col, and a few more. What I need is to be...
  11. BiggerBrother

    Multiple Domains

    I'm a complete newbie when it comes to servers, and DNS, but very willing to learn. I have a server set up at the moment, which has 2 domain names pointed to it. mysite1.com and mysite2.com. This server is fine, and works well. What I need is to replicate this on another server, and I don't...
  12. BiggerBrother

    Show orders where all products are available. Possible?

    I'm not sure that this is even possible with only a single query, but if it is, hopefully someone here can set me straight. I have the standard order, and order_products tables, linked by order_id fields. Order table holds the customer id, order date etc, and the order_products table holds the...
  13. BiggerBrother

    Sum of Groups within Date Range

    Perfect. Thanks r937 Have a star for your efforts. BB
  14. BiggerBrother

    Sum of Groups within Date Range

    I have the standard orders table, with the amount of an order, the order id, the customer id, and the date. What I now need is the ability to group the order totals by quarter. So give customer id, I need to be able to display how much they spent between each quarter. Is this possible without...
  15. BiggerBrother

    $_SESSION variable scopes

    Many thanks for your responses. It now works perfectly. BB
  16. BiggerBrother

    $_SESSION variable scopes

    I thought this was an easy thing that I over looked, and after a long week, and now wanting to quit for the weekend, I can't seem to see the wood for the trees! I have a function, and within the function I refer to a session variable. I've tried echoing out the variable, and I don't get...
  17. BiggerBrother

    GET array variables

    I am posting these variables to the form. www.mysite.com/myform.php?item[101]=1 or www.mysite.com/myform.php?item=1 Is there anyway to distinguish between the two values of $_GET['item']?? Many thanks BB
  18. BiggerBrother

    GET array variables

    I am posting to a form using the GET method. The problem is that I need to be able to distinguish between item[101]=2 and item=2. Is there a way distinguish where the variable is an array element, or using pairs, is there a way to to reutn true if pairs exist, or false if they are missing...
  19. BiggerBrother

    Iterate through multidimensional control array

    I don't know if this is possible, but is it possible to iterate through the following: I have a selection of textboxes, making up a form. One of the groups of boxes is named: textbox[i][quantity], where i is a varible. Currently I have the following: var sum = 0; var quantity =...
  20. BiggerBrother

    Include multiple pages with parameters

    Sorry, got some sleep, and re-read the original post, and I realise I wasn't very clear. I need to be able to batch print a number of reports. Each report has parameters in the url, such as my_report.php?id=32&product=13245&deliver=SW I tried using include($myreport_1), but once I try and...

Part and Inventory Search

Back
Top