Jump to content
Old threads will finally start getting archived ×

kindoman

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kindoman's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That is not entirly true, What about the PEAR mail class. Would that not work. I am just not sure how to impliment it into the script.
  2. bump
  3. As far as I know you have to put Flash or Java into the mix. http://www.jscharts.com/ http://www.maani.us/charts/index.php
  4. BUMP - Sorry, this is Urgent, got to send a mail out today
  5. Hi, I have got this scrript that sends emails out very succesfully. I need to add SMTP details to it so that mail server won't block it. How would I do that? <?php $to = '[email protected]'; $subject = 'Newsflash'; $content = file_get_contents("content/newsflash/test/newsletter.html"); $template = file_get_contents("templates/standard.html"); $message = str_replace("<!-- newsletter -->", $content, $template); $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: The boss <[email protected]>' . "\r\n"; mail($to, $subject, $message, $headers); ?>
  6. bump
  7. Sorry, I have half fixed this. <?php $to = '[email protected]' . ', '; $to = '[email protected]'; $subject = 'Birthday Reminders for August'; $message = ' HTML here'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'From: Birthday Reminder <[email protected]>' . "\r\n"; $headers .= 'Cc: [email protected]' . "\r\n"; $headers .= 'Bcc: [email protected]' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); ?> It will send to one address now, but not to multiple addresses. If I put more that one address it gives no error, it just does not send. I have also checked the spam q. Also could you give me a clear example about what you said " <!-- CONTENT GOES HERE -->" stuff. Lets say I want to send this mail. <style type="text/css"> <!-- body { background-color: #006FAE; } .style1 { font-family: "Courier New", Courier, monospace; font-weight: bold; } --> </style><table cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="center"> <table cellspacing="0" cellpadding="0" width="600"> <tr> <th align="center" style="font-size: 10px; padding: 4px 0; font-family: Arial; color: #666666;"> <p style="margin: 0 0 4px; font-family: Arial; color: #FFFFFF;"> <a href="http://www.tttafrica.co.za/emailcamp/sampsonfarewell/" style="color: #000000;">Having trouble viewing this email? <webversion> Click here to view it in your browser </webversion> . </a></p> </th> </tr> </table> </td> </tr> <tr> <td align="center"><table width="568" border="0" cellpadding="0" cellspacing="0" style="background-color: #ffffff; font-family: Arial; border-width:1px; border-color:#FFF; border-style:solid;"> <tr> <td valign="middle" align="center" style="padding: 0px; font-family: Arial; outline-width: 4px;" colspan="3"><span style="padding: 0px; font-family: Arial; outline-width: 4px;"><img src="http://www.tttafrica.co.za/emailcamp/sampsonfarewell/img/head.jpg" height="178" alt="ABC Widgets" width="601" /></span></td> </tr> <tr> <td valign="top" align="center" style="padding: 40px 40px 40px 40px; font-family: Arial; outline-width: 4px;" width="374"><h3>You are invited to attend the farewell of Dr John Sampson</h3> <table width="100%" border="0" cellpadding="0" cellspacing="10" style="font-size:0.9em;"> <tr> <td width="27%" valign="top"><strong>When</strong></td> <td width="73%" valign="top">Tuesday, 24 March 2009</td> </tr> <tr> <td valign="top"><strong>Where</strong></td> <td valign="top">Johannesburg Country Club; Woodmead</td> </tr> <tr> <td valign="top"><strong>Time</strong></td> <td valign="top">16:30 for 17:00</td> </tr> </table></td> <td valign="top" align="center" style="padding: 0; font-family: Arial; outline-width: 4px;" width="7"> </td> <td width="187" align="center" valign="top" bgcolor="#D5F0FF" style=" padding: 14px 14px 14px 14px; font-family: Arial; outline-width: 4px;"><p class="style1" style="font-size: 12px;"> </p> <p>To RSVP please click on the appropriate button below.</p> <p><a href="mailto:[email protected]?subject=Invitation to Dr John Sampsons Farewell&body=Thank you, I would love to come."><img src="http://www.tttafrica.co.za/emailcamp/sampsonfarewell/img/accept.png" border="none" height="35" alt="Accept" width="126" /></a></p> <p><a href="mailto:[email protected]?subject=Invitation to Dr John Sampsons Farewell&body=Sorry,%20I%20can't%20make%20it."><img src="http://www.tttafrica.co.za/emailcamp/sampsonfarewell/img/decline.png" border="none" height="35" alt="Decline" width="126" /></a></p></td> </tr> </table> </td> </tr> </table>
  8. Hi, I have got this script that used to work, but no longer does ??? <?php $to = '[email protected]' . ', '; / $to .= '[email protected]'; $subject = 'Birthday Reminders for August'; $message = ' HTML here'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'From: Birthday Reminder <[email protected]>' . "\r\n"; $headers .= 'Cc: [email protected]' . "\r\n"; $headers .= 'Bcc: [email protected]' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); ?> I am not sure what I did to it. Also how do I include a predefined template into the html? I need to send out a newsletter to staff with a standard design, just the content will change. Any help with that would be greatly appreciated.
  9. Thanks I did not know that it was that easy. I ajusted the mail script slightly: $fname = $_POST[fname]; $lname = $_POST[lname]; if ($fname != "" && $lname != "") { $sendto = "[email protected]"; $subject = "New Business Card Order!"; $message = "There is a new business card order waiting to be processed\n From: $fname $lname"; $fromEmail = '[email protected]'; $headers = "From: $fromEmail"; mail($sendto,$subject,$message,$headers);}
  10. Hi I posted this question here before but I put the code in a very unreadable format. I cannot find an edit post link, so here it goes again. I have a form that works great, but I want to know how to add the data to SQL as well as send off to a email address at the same time. Below is my code, sorry it is so long. Form Action <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO bcard (company, branch, fname, lname, preg, pos, cell1, cell2, cell3, email1, email2, `date`, printed, dealt) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", GetSQLValueString($_POST['company'], "text"), GetSQLValueString($_POST['branch'], "text"), GetSQLValueString($_POST['fname'], "text"), GetSQLValueString($_POST['lname'], "text"), GetSQLValueString($_POST['preg'], "text"), GetSQLValueString($_POST['pos'], "text"), GetSQLValueString($_POST['cell1'], "text"), GetSQLValueString($_POST['cell2'], "text"), GetSQLValueString($_POST['cell3'], "text"), GetSQLValueString($_POST['email1'], "text"), GetSQLValueString($_POST['email2'], "text"), GetSQLValueString($_POST['date'], "date"), GetSQLValueString($_POST['printed'], "text"), GetSQLValueString($_POST['dealt'], "text")); mysql_select_db($database_Main, $Main); $Result1 = mysql_query($insertSQL, $Main) or die(mysql_error()); $insertGoTo = "finshed.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form3")) { $insertSQL = sprintf("INSERT INTO bcard (company, branch, fname, lname, preg, pos, cell1, cell2, cell3, email1, email2, `date`, perm, printed, dealt, ident) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", GetSQLValueString($_POST['company'], "text"), GetSQLValueString($_POST['branch'], "text"), GetSQLValueString($_POST['fname'], "text"), GetSQLValueString($_POST['lname'], "text"), GetSQLValueString($_POST['preg'], "text"), GetSQLValueString($_POST['pos'], "text"), GetSQLValueString($_POST['cell1'], "int"), GetSQLValueString($_POST['cell2'], "int"), GetSQLValueString($_POST['cell3'], "int"), GetSQLValueString($_POST['email1'], "text"), GetSQLValueString($_POST['email2'], "text"), GetSQLValueString($_POST['date'], "text"), GetSQLValueString(isset($_POST['perm']) ? "true" : "", "defined","'Y'","'N'"), GetSQLValueString($_POST['printed'], "text"), GetSQLValueString($_POST['dealt'], "text"), GetSQLValueString($_POST['ident'], "text")); mysql_select_db($database_Main, $Main); $Result1 = mysql_query($insertSQL, $Main) or die(mysql_error()); $insertGoTo = "finshed.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } $emailone_bcards = "-1"; if (isset($_POST['email1'])) { $emailone_bcards = $_POST['email1']; } $emailtwo_bcards = "-1"; if (isset($_POST['email2'])) { $emailtwo_bcards = $_POST['email2']; } mysql_select_db($database_Main, $Main); $query_bcards = sprintf("SELECT * FROM bcard WHERE email1 = %s AND email2 = %s", GetSQLValueString($emailone_bcards, "text"),GetSQLValueString($emailtwo_bcards, "text")); $bcards = mysql_query($query_bcards, $Main) or die(mysql_error()); $row_bcards = mysql_fetch_assoc($bcards); $totalRows_bcards = mysql_num_rows($bcards); $pass = $_GET[pass]; $user = $_GET[user]; ?> Form <form action="<?php echo $editFormAction; ?>" method="post" name="form3" id="form3"> <table align="center"> <tr valign="baseline"> <td nowrap="nowrap" align="right">Company:</td> <?php $company = $_POST[email2]; ?> <td><select name="company"> <option value="ACETE" <?php if ($company == "acete") echo "'SELECTED'"; ?>>ACETE</option> <option value="AIM" <?php if ($company == "actus") echo "'SELECTED'"; ?>>AIM</option> <option value="Dynatest" <?php if ($company == "dynatest") echo "'SELECTED'"; ?>>Dynatest</option> <option value="Jeffares & Green" <?php if ($company == "jgi") echo "'SELECTED'"; ?>>Jeffares & Green</option> <option value="Terratest" <?php if ($company == "terratest") echo "'SELECTED'"; ?>>Terratest</option> <option value="TTTAfrica" <?php if ($company == "tttafrica") echo "'SELECTED'"; ?>>TTTAfrica</option> </select> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Branch:</td> <td><select name="branch"> <option value="Cape Town" <?php if (!(strcmp("Cape Town", ""))) {echo "SELECTED";} ?>>Cape Town</option> <option value="Durban" <?php if (!(strcmp("Durban", ""))) {echo "SELECTED";} ?>>Durban</option> <option value="East London" <?php if (!(strcmp("East London", ""))) {echo "SELECTED";} ?>>East London</option> <option value="Johannesburg" <?php if (!(strcmp("Johannesburg", ""))) {echo "SELECTED";} ?>>Johannesburg</option> <option value="Middelburg" <?php if (!(strcmp("Middelburg", ""))) {echo "SELECTED";} ?>>Middelburg</option> <option value="Pietermaritzburg" <?php if (!(strcmp("Pietermaritzburg", ""))) {echo "SELECTED";} ?>>Pietermaritzburg</option> <option value="Port Elizabeth" <?php if (!(strcmp("Port Elizabeth", ""))) {echo "SELECTED";} ?>>Port Elizabeth</option> <option value="Pretoria" <?php if (!(strcmp("Pretoria", ""))) {echo "SELECTED";} ?>>Pretoria</option> <option value="Richards Bay" <?php if (!(strcmp("Richards Bay", ""))) {echo "SELECTED";} ?>>Richards Bay</option> </select> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap="nowrap"><p class="body">Use the informal style i.e. Chris Robinson, not C.J.Robinson. <br /> If you are normally addressed by your initials, as quite a few people are, <br /> then it will appear as CJ Robinson (i.e. without spaces or full stops) indicating a form of address.</p></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">First Name:</td> <td><input type="text" name="fname" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Last Name:</td> <td><input type="text" name="lname" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap="nowrap"><p class="body">Pr.Eng, C.Eng, Pr.Tech.Eng. etc.<br /> We do not show qualifications or society memberships</p> <p class="body">If none leave blank.</p></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Professional Registration:</td> <td><input type="text" name="preg" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap="nowrap"><p class="body">Director, Executive Associate, Associate, Engineer, Environmentalist etc.</p></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Position in Company:</td> <td><input type="text" name="pos" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Cell Phone Number:</td> <td><input name="cell1" type="text" value="" size="3" maxlength="3" /> <input name="cell2" type="text" value="" size="3" maxlength="3" /> <input name="cell3" type="text" value="" size="4" maxlength="4" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Email Address:</td> <td><input name="email1" type="text" value="<?php echo $_POST['email1']; ?>" size="15" /> @ <input type="text" name="email2" value="<?php echo $_POST['email2']; ?>" size="7" /> .co.za</td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap="nowrap"><p class="body"><strong>Note:</strong> You need to have permission from your branch manager to place a order</p></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Have you obtained branch managers permission:</td> <td><input type="checkbox" name="perm" value="" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td><input type="hidden" name="printed" value="N" /> <input type="hidden" name="dealt" value="N" /> <input type="hidden" name="date" value="<?php echo date("m.d.y"); ?>" size="32" /> <input type="hidden" name="ident" value="<?php echo date("mdyhs"); ?>" size="32" /> <input type="submit" value="Insert record" /></td> </tr> </table> <input type="hidden" name="MM_insert" value="form3" /> </form>
  11. Thanks, I will remember that in the future.
  12. Hi, I have a form that works great, but I want to know how to add the data to SQL as well as send off to a email address at the same time. Below is my code, sorry it is so long. Form action <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO bcard (company, branch, fname, lname, preg, pos, cell1, cell2, cell3, email1, email2, `date`, printed, dealt) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", GetSQLValueString($_POST['company'], "text"), GetSQLValueString($_POST['branch'], "text"), GetSQLValueString($_POST['fname'], "text"), GetSQLValueString($_POST['lname'], "text"), GetSQLValueString($_POST['preg'], "text"), GetSQLValueString($_POST['pos'], "text"), GetSQLValueString($_POST['cell1'], "text"), GetSQLValueString($_POST['cell2'], "text"), GetSQLValueString($_POST['cell3'], "text"), GetSQLValueString($_POST['email1'], "text"), GetSQLValueString($_POST['email2'], "text"), GetSQLValueString($_POST['date'], "date"), GetSQLValueString($_POST['printed'], "text"), GetSQLValueString($_POST['dealt'], "text")); mysql_select_db($database_Main, $Main); $Result1 = mysql_query($insertSQL, $Main) or die(mysql_error()); $insertGoTo = "finshed.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form3")) { $insertSQL = sprintf("INSERT INTO bcard (company, branch, fname, lname, preg, pos, cell1, cell2, cell3, email1, email2, `date`, perm, printed, dealt, ident) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", GetSQLValueString($_POST['company'], "text"), GetSQLValueString($_POST['branch'], "text"), GetSQLValueString($_POST['fname'], "text"), GetSQLValueString($_POST['lname'], "text"), GetSQLValueString($_POST['preg'], "text"), GetSQLValueString($_POST['pos'], "text"), GetSQLValueString($_POST['cell1'], "int"), GetSQLValueString($_POST['cell2'], "int"), GetSQLValueString($_POST['cell3'], "int"), GetSQLValueString($_POST['email1'], "text"), GetSQLValueString($_POST['email2'], "text"), GetSQLValueString($_POST['date'], "text"), GetSQLValueString(isset($_POST['perm']) ? "true" : "", "defined","'Y'","'N'"), GetSQLValueString($_POST['printed'], "text"), GetSQLValueString($_POST['dealt'], "text"), GetSQLValueString($_POST['ident'], "text")); mysql_select_db($database_Main, $Main); $Result1 = mysql_query($insertSQL, $Main) or die(mysql_error()); $insertGoTo = "finshed.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } $emailone_bcards = "-1"; if (isset($_POST['email1'])) { $emailone_bcards = $_POST['email1']; } $emailtwo_bcards = "-1"; if (isset($_POST['email2'])) { $emailtwo_bcards = $_POST['email2']; } mysql_select_db($database_Main, $Main); $query_bcards = sprintf("SELECT * FROM bcard WHERE email1 = %s AND email2 = %s", GetSQLValueString($emailone_bcards, "text"),GetSQLValueString($emailtwo_bcards, "text")); $bcards = mysql_query($query_bcards, $Main) or die(mysql_error()); $row_bcards = mysql_fetch_assoc($bcards); $totalRows_bcards = mysql_num_rows($bcards); $pass = $_GET[pass]; $user = $_GET[user]; ?> The Form <form action="<?php echo $editFormAction; ?>" method="post" name="form3" id="form3"> <table align="center"> <tr valign="baseline"> <td nowrap="nowrap" align="right">Company:</td> <?php $company = $_POST[email2]; ?> <td><select name="company"> <option value="ACETE" <?php if ($company == "acete") echo "'SELECTED'"; ?>>ACETE</option> <option value="AIM" <?php if ($company == "actus") echo "'SELECTED'"; ?>>AIM</option> <option value="Dynatest" <?php if ($company == "dynatest") echo "'SELECTED'"; ?>>Dynatest</option> <option value="Jeffares & Green" <?php if ($company == "jgi") echo "'SELECTED'"; ?>>Jeffares & Green</option> <option value="Terratest" <?php if ($company == "terratest") echo "'SELECTED'"; ?>>Terratest</option> <option value="TTTAfrica" <?php if ($company == "tttafrica") echo "'SELECTED'"; ?>>TTTAfrica</option> </select> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Branch:</td> <td><select name="branch"> <option value="Cape Town" <?php if (!(strcmp("Cape Town", ""))) {echo "SELECTED";} ?>>Cape Town</option> <option value="Durban" <?php if (!(strcmp("Durban", ""))) {echo "SELECTED";} ?>>Durban</option> <option value="East London" <?php if (!(strcmp("East London", ""))) {echo "SELECTED";} ?>>East London</option> <option value="Johannesburg" <?php if (!(strcmp("Johannesburg", ""))) {echo "SELECTED";} ?>>Johannesburg</option> <option value="Middelburg" <?php if (!(strcmp("Middelburg", ""))) {echo "SELECTED";} ?>>Middelburg</option> <option value="Pietermaritzburg" <?php if (!(strcmp("Pietermaritzburg", ""))) {echo "SELECTED";} ?>>Pietermaritzburg</option> <option value="Port Elizabeth" <?php if (!(strcmp("Port Elizabeth", ""))) {echo "SELECTED";} ?>>Port Elizabeth</option> <option value="Pretoria" <?php if (!(strcmp("Pretoria", ""))) {echo "SELECTED";} ?>>Pretoria</option> <option value="Richards Bay" <?php if (!(strcmp("Richards Bay", ""))) {echo "SELECTED";} ?>>Richards Bay</option> </select> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap="nowrap"><p class="body">Use the informal style i.e. Chris Robinson, not C.J.Robinson. <br /> If you are normally addressed by your initials, as quite a few people are, <br /> then it will appear as CJ Robinson (i.e. without spaces or full stops) indicating a form of address.</p></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">First Name:</td> <td><input type="text" name="fname" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Last Name:</td> <td><input type="text" name="lname" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap="nowrap"><p class="body">Pr.Eng, C.Eng, Pr.Tech.Eng. etc.<br /> We do not show qualifications or society memberships</p> <p class="body">If none leave blank.</p></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Professional Registration:</td> <td><input type="text" name="preg" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap="nowrap"><p class="body">Director, Executive Associate, Associate, Engineer, Environmentalist etc.</p></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Position in Company:</td> <td><input type="text" name="pos" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Cell Phone Number:</td> <td><input name="cell1" type="text" value="" size="3" maxlength="3" /> <input name="cell2" type="text" value="" size="3" maxlength="3" /> <input name="cell3" type="text" value="" size="4" maxlength="4" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Email Address:</td> <td><input name="email1" type="text" value="<?php echo $_POST['email1']; ?>" size="15" /> @ <input type="text" name="email2" value="<?php echo $_POST['email2']; ?>" size="7" /> .co.za</td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap="nowrap"><p class="body"><strong>Note:</strong> You need to have permission from your branch manager to place a order</p></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Have you obtained branch managers permission:</td> <td><input type="checkbox" name="perm" value="" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td><input type="hidden" name="printed" value="N" /> <input type="hidden" name="dealt" value="N" /> <input type="hidden" name="date" value="<?php echo date("m.d.y"); ?>" size="32" /> <input type="hidden" name="ident" value="<?php echo date("mdyhs"); ?>" size="32" /> <input type="submit" value="Insert record" /></td> </tr> </table> <input type="hidden" name="MM_insert" value="form3" /> </form>
  13. Speak to your hosting company about setting up a dev address. If your domain is going to be http://www.domain.com then they will set up an address called http://dev.domain.com. You can upload your site, test it, send the address to anyone that has a net connection and then when everyone is happy get you hosting company to change dev.domain.com to www.domain.com.
  14. Thanks guys. This is my first site, so the fact that I got some good comments, is great!! You pointed out that puzzle is spelt wrong, where? On the home page it is spelt puzzle and on the puzzle page it is pelt puzzle??
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.