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 TouchToneTommy 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: *

  • Users: buzzt
  • Content: Threads
  • Order by date
  1. buzzt

    select first instance

    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?
  2. buzzt

    Virus problem

    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...
  3. buzzt

    Javascript + PHP

    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?
  4. buzzt

    Subtract times

    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?
  5. buzzt

    Modem/ Ethernet Simultaneously

    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...
  6. buzzt

    Simultaneous Modem and Ethernet Connections

    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...
  7. buzzt

    'event' is null or not an object

    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...
  8. buzzt

    Edit row in flat file

    I am able to retrieve the row I want (from a flat file). Now I would like to be able to edit and/ or delete that row only without affecting those before or after. Is there a way? Here's how I am getting the row info ($ed is the id for that row which is posted to the page by clicking a link with...
  9. buzzt

    Need to do 2 things at once

    Here is the script: <script language="javascript"> <!-- function showhide(item) { if (item.style.display=='none') { item.style.display=''; } else { item.style.display='none' } } --> </script> I am using an onClick to activate the function (shown below). This displays the text...
  10. buzzt

    Weird...

    For some reason every time I do this: b=document.the_form.days.value; x=(6 + b); document.the_form.result.value=x; Instead of getting a sum, it places the numbers beside each other(i.e. if b=1, I get 61). If I do this: b=document.the_form.days.value; x=(6...
  11. buzzt

    Config Issue?

    I have installed Apache on my win 2k box. I have also added php 5 to c:\php. As far as I can tell I have made all the necessary changes to the php.ini and httpd files (as well as moved files to the system32 and winnt folders). Apache starts and opens index.php, but does not actually run the php...
  12. buzzt

    Apache, Win 2K & PHP 5

    I have installed Apache on my win 2k box. I have also added php 5 to c:\php. As far as I can tell I have made all the necessary changes to the php.ini and httpd files (as well as moved files to the system32 and winnt folders). Apache starts and opens index.php, but does not actually run the php...
  13. buzzt

    Apache, Win 2K & PHP 5

    I have installed Apache on my win 2k box. I have also added php 5 to c:\php. As far as I can tell I have made all the necessary changes to the php.ini and httpd files (as well as moved files to the system32 and winnt folders). Apache starts and opens index.php, but does not actually run the php...
  14. buzzt

    Edit multiple values from same mysql columns

    I need to edit multiple entries in my mysql table at once. What I have so far, is a query that returns all the result of a given date. I then create a loop which writes form fields with each result in its corresponding field. The problem is I do not want to submit the form for each entry I...
  15. buzzt

    Merge Sheets

    I have 30 sheets in a workbook that I would like to combine into 1 sheet (sheet 2 beginning after the last row in sheet 1, and so on...). The layout is exactly the same for each sheet, so if I copy and paste them it works fine, but this is a fairly long process. How could I do this?
  16. buzzt

    This is probably easier that it seems...

    All I want to do is pass ALL the information from the array to the if statement without specifying {0],[1]... How do I do this? $page = $_SERVER['PHP_SELF']; $page = "http://www.ANYSITE.com" . $page; $except = array('a.php', 'b.php'); if ($page != $except[0]) { Whatever code } else { Other...
  17. buzzt

    Back and Next

    What is the easiest way to do back and next links so I can limit the number of results per page? I have come up with something, but it seems awfully complicated for nothing. I'm sure there is a better way.
  18. buzzt

    Schedule Problem

    I am displaying an events schedule with PHP querying my MySQL database. I need to be able to get the WHAT'S ON NOW to display the current event. I have been doing it this way: // Second part of query for next day events starting at midnight to follow last current day's event $query =...
  19. buzzt

    Military time

    Anyone have some nice compact code for converting military time (24:00) taken from a MySQL database to standard using PHP?
  20. buzzt

    Not sure...

    I'm not sure if what exactly the problem here is, but I have been using phpFTPAdmin (found on Sourceforge) as a means to upload files to my server from a web page. The problem is that whenever I try to upload a file greater than 7 megs, the page hangs and does not complete. I have the php.ini...

Part and Inventory Search

Back
Top