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...
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.
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...
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...
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...
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
I need help passing variables. When I do a print I see the variable display but when I try to use it my update statement dont work.
starts with page 1 I use:
print ("<td valign='top' bgcolor='$row_color'><font size='2'><a href=lginfrm1.php?logid=$variable1>$variable1</a></td>");
this brings up...
i am trying to bcc 2 people on an email form... i can get the form to work but the BCC is not working...using PHP 4.3.1
<?
$to = "$email" . ", " ;
$to .= "$mremail";
$subject = "$name 's request";
$msg = "blah blah blah";
$headers = "From: $email \nReply-To: $email";
$headers .="Bcc...
I am using a form where multiple cities can be selected with the following code:
EXAMPLE
<select name='local[]' multiple>
<option value="ATLANTA">ATLANTA</option>
<option value="CONYERS">CONYERS</option>
<option value="CHICO">CHICO</option>
</select>
I am able to display the selection on SUBMIT...
Please help.
A while back I had a trouble passing DTMF tones to an IVR because it did not pass back ANSWER SUPERVISION (by design). Nortel had me change a parameter in my PBX that would pass DTMF tones without answer supervision. I cant recall what that parameter was. Does anybody have an idea...
Hello-
I was hoping that someone could shed some light on why the file size of a graphic (.gif, .bmp, .jpg) in WordPerfect 8 is excessively larger than in Word97? Ex: word .gif file size = 36KB and for the same imported graphic in WordPerfect the file size = 520 KB. I have seen many of the...
I have been looking over this code for a few hours. I have removed each different if statement to see if it was causing the error..nope. I am getting a 500 error. Please help my poor eyes.
#!/usr/bin/perl
require "cgi-lib.pl";
&ReadParse;
#remove '$' character from price field...
I need some help using tokens within JavaScript.
I have a webpage that receives information via a token when it loads. I in turn need to use the token as data for a function I created for the web page. How can I access this token in order to retrieve the data?
I need some help configuring Apache to use Server-Side Includes (.shtml). This is what I have changed in my htpd file so far...
LoadModule include_module modules/mod_include.so
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
<Directory /htdocs>
Options +Includes
</Directory>...
I need some help. For some reason my host had moved my site to another server. They were not able to restore the database but do have it saved in a file. The files are: (there is only 1 table in the DB)
mysql.sql
folder:mysql
folder: _games (this the name of the database)...
Help!! I have a form where people will enter their ticket number. This ticket number will be attached to the end of the URL and when submit(or enter) is selected it will retrieve the URL. The code does not work please help.
<html>
<head>
<title>NT TICKET SEARCH</title>
</head>
<body>
<SCRIPT...
Not sure whether this question is for this forum or the MySQL forum but I will give it a try.
Is it possible to insert rich text via PHP into a MySQL database? Any hints or links would be appreciated. I would like to have colored text and links.
thanx
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.