Is this what you are looking for (I have just made some modifications to your code)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
...
Problem might be down to you not using a "From" (most servers require the presence of a From parameter in the mail() function in order for it to work properly)
Hi,
I'm no expert but for the code you have supplied, it looks like you are not running your query. Before you count your rows you will need to run the query :
$r=mysql_query($queryvoid);
...
you will need to "submit" the information (i.e. using <input type="submit" etc.../> button) and then in the form tag use an onsubmit event handler to run the validation functions.
I have just run your code replacing console.log with document.write to display the results on the screen and your code works fine for me. (i.e. it displays the reults of each individual roll and the...
Hi! Thanks your you help. full script is as follows:
<html>
<head>
<title>RegExp</title>
<script language="JavaScript">
var myTel=document.getElementById("txtTel");
myTel=myTel.value;
I have a page ("treatments.htm") which calls calls various functions when buttons are pressed.
For instance, when the page loads, using the innerHTML property the funtion "treatmentsIntro()"...
I set the cookie as follows:
<input type="button"value="Get Cookie"onClick="setCookie('ClientUserName',this.form.txtFirstName.value,'','')"/>
in the target page i call the cookies with:
...
I have tried what you suggest, but still cannot get it to work. Here is the script:
function setCookie(cName,cValue,cPath,cExpires){
cValue=escape(cValue);
if(cExpires==""){...