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 SkipVought 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: dadms
  • Order by date
  1. dadms

    Help with grep on script

    thanks for all the help. I used the following: grep -c "Doe.*Married" $file It didn't initially work because I had a space between the . and *
  2. dadms

    Help with grep on script

    thanks for all the help. I used the following: grep -c "Doe.*Married" $file It didn't initially work because I had a space between the . and *
  3. dadms

    Help with grep on script

    I have figured out that -F, separates the fields however I get told that there are too many fields for the awk command. There are over 108. HMMM...back to the grep..
  4. dadms

    Help with grep on script

    ok, just one more thing, what do I do if the fields are comma delimited. I do I tell it that the comma separates the fields? John,Doe,Married Jan,Doe,Married Don,Doe,Single
  5. dadms

    Help with grep on script

    I am trying to count the number records that contain specific words that are not group together by grepping on 2 keywords in my script but having no success. John Doe Married Jan Doe Married Don Doe Single (i know the syntax is not right) example.... #how many Doe's are Married for file in...
  6. dadms

    MAIL FUNCTION NOT WORKING

    I have built a simple email in PHP that had been working fine for about 6 months. My host has updated PHP to 4.3.11 and it has stopped working. Anybody else had this issue or any suggestions? Even this simple email script doesnt work. <? $to = "xxxxxx@somewhere.net"; $subject = "ZDNet...
  7. dadms

    SIMPLE TEXT HELP I THINK

    Because I dont know what default they are using. And it tends to shift object on a web page. I have seen it done on a few sites but cant tell what they have done. I do know that if I use the SYSTEM font it works fine but I dont want to be limited to it. DOESNT WORK EXAMPLE: go to...
  8. dadms

    SIMPLE TEXT HELP I THINK

    Is there a trick to make text NOT increase in size when a user selects VIEW -> TEXT SIZE -> small, medium, large in INTERNET EXPLORER? This has been driving me crazy. If I select the SYSTEM font it works but nothing else.
  9. dadms

    validating arrays

    Slepnir214, Would you be able to point me in the right direction with an example or a URL to documentation? Thanks
  10. dadms

    CC email recipient in text box

    eledigito, does document.forms["form1"].setAttribute("action","mailto:test@comcast.net?subject=LOCAL%20FORM&cc="+newCC); take the place of the mailto function in the FORM code. I tried it with and without the ACTION in the FORM code and it does not seem to work.
  11. dadms

    CC email recipient in text box

    Im sorry maybe my email was a bit confusing. The form works but I have an email box in the form where people can put their email address. I would like to use this field to determine the CC address. <tr> <td align="left">EMAIL</td> <td width="23%"><input type=text name=email size=25...
  12. dadms

    CC email recipient in text box

    I am having a difficult time figuring this out. I would like to CC a recipient using the mailto function. The recipient would be a manually entered in a text box. <SCRIPT LANGUAGE="JavaScript"> function IsEmailValid(form1,email) { var EmailOk = true var Temp = document.form1.email var...
  13. dadms

    validating arrays

    if NONE is selected on all the dropdowns I would like You must select at least one city - to display. <?php if (($local == 'NONE') && ($foreign == 'NONE') && ($modern == 'NONE')){ print '<p>You must select at least one city.</p>'; } else { print '<html><body><pre>'; print_r ($_POST); print...
  14. dadms

    validating arrays

    sleepnir thanks for the multiple heads up. I am trying to verify that in at least one of the arrays that something other than NONE is selected. But my validating techniques seem weak. if (($local == 'NONE') && ($foreign == 'NONE') && ($modern == 'NONE')){ print '<p>You must select at least...
  15. dadms

    validating arrays

    I have the following drop down boxes for people to select on a form. I would like to make sure when they submit the form that at least on of the drop down boxes has a value selected. As of right now when they submit I get NONE in my email and database. Could someone please help me out with how...
  16. dadms

    PHP-MYSQL question

    Thanks for all the suggestions. I took the easy route and went with: $sql = "UPDATE logins SET notes=CONCAT(notes, '$notes') WHERE id='$id'";
  17. dadms

    PHP-MYSQL question

    I am trying to append to a field in a mysql database. For example in field NOTES- I may have- THIS IS A TEST I then want to be able to add/append/update????- TEST IS OVER And in the DATABASE it would show- THIS IS A TEST TEST IS OVER I...
  18. dadms

    APPENDING HELP

    still a bit lost should of asked the whole question... If I am updating a field I use the UPDATE command, how would I incorporate the SELECT/append command with the update. Thanks
  19. dadms

    APPENDING HELP

    I have a MySQL database with a notes field. I am not sure how to do the following: I would like to add text to the field without overwriting what is currently there. Is there an append command? Could somebody give me an example. Thanks
  20. dadms

    PASSING VARIABLES

    Thanks for all the help... Dont know why all of a sudden it works but here is the code from the page... <input type=hidden name="logid" value='<?php echo $logid ?>'>

Part and Inventory Search

Back
Top