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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 =...
Hi,
I have a report which is generated over a number of pages. I now need to join these pages together, so that they all print on the same page, as some of the reports are only a couple of lines long.
I really need a way to include these pages in one routine. The issue I have is that all the...
Ok, I have a large problem with attachments. I need to be able to send files, which are zip files, of around 50-150MB in size.
My issue is that I've tried using poSendMail and a couple of other methods, but so far to no avail. I realise that this size of file takes a while to send, but at the...
I have two tables. On is orders, and the other is despatches.
Orders:
Order ID
Product_ID
Quantity
Date
Despatches:
Despatch_ID
Order_ID
Product_ID
Despatch_Qty
I need to run a report which returns the order id of any orders where the items on the order have...
I ahve a form, with over 50 checkboxes. When the form submits, I need to be able to iterate through all the $_POST varaibles, to create an sql string. I have no idea what these variables will be called, as they are related to the name of theproduct I am searching for.
Is there a way to return...
I don't know if this is possible, without iterating through every returned record. I have a table of categories. Each category has an id and a parent_id. If the parent is set to 0, then the category is top level. I need to be able to return all of the sub-categories below a parent category...
I've been searching for this solution for a while, but I think I'm looking in the wrong places, as I still haven't found the answer!
When you right click on a JPG file icon, you get the option of "open with". How can I get this list, across most windows OS? I really want to be able to open a...
Is it possible to send emails, with your own headers set through VB?
We have just completed an application, and given it to our client. All is good, except that the client now wants to set a custom header!
Currently, we use PoSendMail, but this is changable. We have a set SMTP username...
Is there anyway to find the domain name used to access my site? I have a site, with multiply domain names pointing to the same site. Is there anyway to find out which name the user has entered to get to the site?
Basically, I need to return the nae into a php script, so that the site can have...
I really don't get this, and I'm trying to learn VERY fast.
My page can be found here.
If you view it with IE, the floating menu flickers, but works as it should.
Opera however, starts with the menu shunted to the right, but the margin on the left of the page. WHY?
Netscape however, the div...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.