How would I select only the first instance of each result? In other words, if there was an 10 events taking place 3 times each in the date range specified, how could I get the db only to give me first instance of each distinct event?
I have a very annoying problem. I have a friend's windows xp pro box that had (are you ready for this?) 2712 infected files on it. I was unable to log into the system normally, so I restarted in safe mode. After running a system cleaner (which I have used many times on it before) to remove the...
I need to capture the values for screen height and screen width and assign them PHP variable names ($width, $height) without reloading or submitting the page. Can I do this?
I have what I thought would be a very simple question. I want to subtract a time in my database from the current time, and get a difference in minutes. What is the most concise and efficient way to do this?
I posted this in another forum also (which will no doubt anger the moderators - SORRY) but I did not know where to go...
I have a problem. I need to be able to use an external dial-up modem to connect to a remote application, but I also want to maintain my internet connection through the LAN on...
I have a problem. I need to be able to use an external dial-up modem to connect to a remote application, but I also want to maintain my internet connection through the LAN on the same workstation. Even when I specify the DNS and gateway (even though they are assigned by DHCP), as well as select...
I fixed it. Here's what I ended up with (in case anybody ends up in a similar situation):
<script language="JavaScript" type="text/JavaScript">
<!--
var formWin = null;
function openFormWin()
{
if (document.form.formfield.value=='')
{
alert("Enter search criteria")...
Why do I keep getting this error? The script works, but there is still this error.
Here is the script:
<script language="JavaScript" type="text/JavaScript">
<!--
function formval()
{
if (document.form.formfield.value=='')
{
alert("Please enter your search.")
event.returnValue=false;
}
}
var...
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.