I'm using PHP to pull some data my sql like so:
$get_users = ("SELECT * FROM employees");
while($users = mysql_fetch_array($get_users))
{
echo $users['usernmae'];
--- OR ---
echo $users[0]
}
I have two questions, firstly, shouldn't the following work:
$get_users = mysql_query("SELECT * FROM...
sorry about the funny subject. What I want to know is, when I access policies (mainly to run logon script) via:
\\mydomain.biz\sysvol\mydomain.biz
what server does it look on? We have four servers at our sites and numerous other servers at remote offices. I presumed it would use the same...
I want to detect when the mouse laves the main window of the doucmnet, ie goes up to the toolbar, or down to the status bar etc. I've added an onmouseout to the body tag, but it's begin called each time I mouse over an element in the document, eg a div or a table. I haven't tried it with...
is it possible to detect a mouseup outside of the body, ie when the user brings the mouse up towards the toolbar? I'm creating a movable div and have tried several different options but none provide exactly what I need. I've tired event.clientX < 0 and I've tired adding an onmouseout to the...
I've been able to create a basic DIV which I can drag around the page. The code might not be the best, but it works so I'm happy enough for now ... well it almost works !!
It works fine if the DIV contains an image, text etc. The problem arises when I put an IFRAME in there. As soon as the...
I'm thinking about taking an active directory course. the 2 I've found on the M$ site are the 2 above but I can't really distinguish between the two. I've had a look on the M$ website, but they don't really help me distinguish between the two at all either. can anybody provide any guidance?
We've got a meridian opt61 which I know very little about (joined the company 6 months ago and basically "inherited" it).
I have a user at DN 1111. Up until recently, their calls were set to HUNT and FDN to DN 3333. However, now the setup is changed. They need to HUNT and FDN to 2222. And...
I'm pretty sure this is possible, don't know if maybe I need to use an index, nor do I know whether I should use an index.
What I have is contacts table with nearly 30 columns. 10 are for personal details, and 10 are for office details. I then have two fields, one to say add personal details...
I have 2 questions regarding the freedisk commnad on 2003 server, both of which are related. I want to use freedisk to return the amount of freedisk space available on a volume. However, I'd like it return in Mega Bytes instead of bytes. Is there anyway around this at all?
Also, Is there...
We've got a printer in a remote office and users tell me that if tray one is empty, it uses tray 3, if that's empty it uses tray 2. They want the order to go 1, 2, 3 instead. I know very little about these printers, is there a way to change the "order". Or even to select the tray when sending...
I've written a basic function that searches in DIV's for text and makes the div visible if a match is found (they're all hidden by default). Now, what I want to do is make the matching text bold by wrapping it in <B> tags. But I can't seem to get it right. Here's what I've got so far...
can somebody tell me how word determines what language it should run spell checker in. I've found an article on M$ website that says it looks at the InstallLanguage key in registry (which doesn't exist on my PC!!) and uses this. Or does it just use the input language (assuming the...
we've got a domain containing 2000 and 2003 servers. The PDCemulator for the domain is a 2003 server. It receives it's time data from a cisco rotuer and all the other servers (2000 and 2003) get their time from the PDCe. This has been working fine until about a week ago when the non-PDC 2003...
Sorry that's not a very good subject line, I'm pretty new to the whole PHP and MySQL thing. Basically, I've got the following table in MySQL:
OUID OU_Name Parent_OU
1 MyComp <blank>
2 Div1 1
3 Div2 1
4 DepA 2
5 DepB 2
6...
We've imported system.adm from XP SP2 to 2000 server, however, when we go to:
Admin Templates\Network\Network Connections\Windows Firewall\Domain Profile or Standard Profile the 2 options for Define Port exceptions and Define Program Exceptions aren't there, even though they appear in the XP...
I mofified a job on Friday to run a failed job at 10.00 AM on friday morning. Then I forgot to change the schedule back to 23.59 PM after the job finished so that it would run as normal. So when I can in today, it was running again at 10.00 AM. Once the job finished, I changed the schedule...
I'm not running windows 2000, but some of our remote users are and they want to find out their CPU spec. I told them to try system properties, but it only has RAM there they said and CPU family (ie 80x86). It's not in device manager and it's it's not in system information when you right click...
I'd like to create tabs similar to those on the apple website but I don't know how to get the effect. I've done a search but now really come up with anything. can anybody help out on any tutorials they know of??
I don't know much about ArcServe but the directoy database (program files\computerassociates\arcserve\database) is filling up the hard drive. It's over 1.5GB at the moment, and i've compared it to another server where it's using 900MB. There's a file Astpsdat.000 which is 63MB alone. and...
Is there any way to remove an element from a page? I have an IFRAME which calls a PHP script that changes a MySQL table to change the status of a record from open to closed. However, I need to remove a div from the parent page. I've been trying a simple one that says:
function removeMe()
{...
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.