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 strongm 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: ruffy
  • Order by date
  1. ruffy

    Is what I need Applescript - or what?

    Is there a way I could check if I've already installed that stuff?
  2. ruffy

    Is what I need Applescript - or what?

    New to the Mac (running on Tiger); Oldtime PC user/developer: Have a question - Have a browser-based pgm and want to integrate it with a softphone package, so that the number in the browser "jumps over" to the softphone, for a one-button dial job. Then have the browser-based pgm log the...
  3. ruffy

    PHP/javascript - Is there an interface to a softphone?

    Thanks for that idea, jpadie. I hadn't even thought of developing in Applescript all this time. Know of a good tutorial I can learn from, especially one that deals with interfacing between two programs?
  4. ruffy

    PHP/javascript - Is there an interface to a softphone?

    I'm developing a computer program on my Macbook that runs in a browser. It's written in PHP & javascript. It displays phone numbers to call, one after the other. As of now, I dial my VoIP phone. I'd like to interface with a softphone so that the telephone number in the browser shows up in the...
  5. ruffy

    Absolute button control by javascript

    Trolacious - I like to keep my styling and javascript external to my php & html code. So although the form is submitted, I capture the event by a button's event handler. Kaht - I've got many textfields in the form. On any of these, were I to hit ENTER, the browser submits the form, leading to...
  6. ruffy

    CSS Form Control - Lining up labels with their fields

    I've got 4 fields in the left side of a form's fieldset, and others on the right. The ones on the right are tabled - and for now I'm not concerned with. The left fields are nested inside label elements, such as: <label>Name<input id='pname' type='text' size='32' /></label> The CSS to control...
  7. ruffy

    Absolute button control by javascript

    --------------------------------------------------------------------- That didn't work because all my buttons are input type = "button". I think the reason I did that was to give all my buttons different functions when clicked. And I do not have a formal "Submit" button. I tried your...
  8. ruffy

    Absolute button control by javascript

    My PHP code goes awry when the user hits ENTER after putting the cursor in a form's input field. I'd disable the fields, but I want to enable the user to update the data. But I only want him to update the stuff after he hits the "Update" button. How do I ensure via javascript that nothing...
  9. ruffy

    Something basic in CSS seems missing

    Well then, Jeff, what is that CSS code {overflow: visible;} used for? And are you saying I hvae NO choice but to increase the size of the input area?
  10. ruffy

    Something basic in CSS seems missing

    I have this input field in my opening page markup: <input id='que1' size='20' value='$q1' /> and made its value over 20 characters to test this CSS styling: #que1 {overflow: visible;} Tested it in FF and Safari, and it won't overflow to display its entire contents. Do you see why not?
  11. ruffy

    Mysql import - Where do I go wrong?

    I don't know why, but my sql worked when I wrapped the values in quotations. These values were destined for varchar fields, but Mysql seems unable to figure that from what's between the commas, even though it should be "expecting" these values between the comma delimiters to be text data...
  12. ruffy

    Mysql import - Where do I go wrong?

    Well - I then tried to do it via sql. INSERT INTO Prospect (prospectid, name, lastdialon, lastofferon, addr1, addr2, city, state, zip, redialdate, phone1, phone2, email, fax, jobtypeid, listid, lastfset, demographic1, demographic2, businessid, sourceid, filler1, filler2, filler3, filler4...
  13. ruffy

    Mysql import - Where do I go wrong?

    I use phpMyAdmin 2.10.0.2 to administer Mysql 5.0 My PHP version is 5.2.1. Always "affected rows" ends up to be only 1, when I have over 300 rows in my datafile. Can you tell me where my import procedure goes wrong? Here's what I do to populate a table. After choosing the database in the left...
  14. ruffy

    Convert mysql date to &quot;Days Ago&quot;.

    Jpadie - you are something else!
  15. ruffy

    Convert mysql date to &quot;Days Ago&quot;.

    jpadie - thanks! For some reason, my include_once "daysago.php" file, (the name I called your script), php had trouble finding - even though it resides in the same directory with my other include_once script "config.php". (see error below). This forced me to use your code inline. Then it worked...
  16. ruffy

    Convert mysql date to &quot;Days Ago&quot;.

    But how do I do it from PHP?
  17. ruffy

    Convert mysql date to &quot;Days Ago&quot;.

    How do I take a Mysql date, after I retrieved it into $mysqldate, and convert it to a number that represents "days ago"?
  18. ruffy

    From Javascript to PHP to Mysql - a time variable.

    My TIME value captured in javascript is still an issue. I see I opened a bag of worms, but I'll try to keep this time issue simple. My Mysql table has 4 fields: 1) A char field 15 long. 2) An int field 15 long. 3) A Time field, and 4) A Date field. My javascript gets a time in milliseconds...
  19. ruffy

    From Javascript to PHP to Mysql - a time variable.

    This ajax thing doesn't allow me to echo my results; Apparently it's as if the echo would be interpreted as the "return" of this php file, though I'm not sure why. Anyways, because I could not call your function, I 1) coded it inline, and 2) put the value into a mysql table. and it came up...
  20. ruffy

    From Javascript to PHP to Mysql - a time variable.

    I want to trap the TIME an event started, to insert it into a MySql table. In my javascript, I wrote: start = new Date( ) starttime = start.getTime( ); When I do that my alert shows a 13 digit number. (OK, I guess). But now I need to INSERT that time into a MySql table. So I send it...

Part and Inventory Search

Back
Top