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