Script help Please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Karen Ringrose
    First Lieutenant

    • Feb 2007
    • 180

    Script help Please

    can someone please tell me where I'm going wrong? I have designed the form and tried to edit a script from a contact me script to work on the new form to send the infromation entered by the person to me via email.

    when i tried it i get a message reading:

    Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/tpydrqz/public_html/processingpage2.php on line 4

    the script is:

    <?PHP
    // Receiving variables
    @$Name = addslashes($_POST['name']);
    @$ Address= addslashes($_POST['Address']);
    @$TelNo = addslashes($_POST['TelNo']);
    @$email = addslashes($_POST['email']);
    @$Design = addslashes($_POST['Design']);
    @$Card Style = addslashes($_POST['Card sytle']);
    @$Card Size = addslashes($_POST['Card Size']);
    @$Colour = addslashes($_POST['Colour']);
    @$Sample Pack A = addslashes($_POST['Sample Pack A']);
    @$Sample Pack B = addslashes($_POST['Sample Pack B']);
    @$Sample Pack C = addslashes($_POST['Sample Pack C']);
    @$Sample Pack D = addslashes($_POST['Sample Pack D']);
    // error checking
    if (strlen($name) == 0 )
    {
    header("Location: name_error.html");
    exit;
    }
    if (strlen($email) == 0 )
    {
    header("Location: email_error.html");
    exit;
    }
    if (! ereg('[A-Za-z0-9_-]+\@[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+', $email))
    {
    header("Location: email_error.html");
    exit;
    }
    if (substr_count($comments, '@') > "2")
    {
    header("Location: comments_error.html");
    exit;
    }
    //Sending Email to form owner
    $mailto = "info@urbancouturepaperweddingstuff.com ";
    $mailsubj = "Sample Order from customer";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values from my website form:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    // Autoresponder
    $mailto = $email;
    $mailsubj = "Copy of the info you Submitted";
    $mailhead = "From: website form\n";
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    header("Location: confirmationpage.html");
    ?>
    and the page html is:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <HEAD>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <TITLE>Wedding stationary from Urbancouturepaperweddingstuff</TITLE>
    <META name="AUTHOR" content="Karen Ringrose">
    <META name="KEYWORDS" content="Wedding Stationary, wedding invitation stationary, couture wedding invitation, couture wedding, bespoke, hand made">
    <META name="DESCRIPTION" content="Quality Couture hand made wedding stationary, with matching accessories, favors, albums and guest books">
    <META http-equiv="Page-Enter" content="blendTrans(Duration=1)">
    <META name="GENERATOR" content="Created by BlueVoda">
    <STYLE type="text/css">
    div#container
    {
    width: 1146px;
    position: relative;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    }
    body
    {
    text-align: center;
    margin: 0;
    }
    </STYLE>
    <SCRIPT type="text/javascript" src="./jscookmenu.js"></SCRIPT>
    </HEAD>
    <BODY bgcolor="#D8D8B1" text="#000000">
    <DIV id="container">
    <IMG src="TEMPLATE.GIF" alt="" align="top" border="0" width="800" height="998" style="position:absolute;left:0px;top:103px;width: 800px;height:998px;z-index:35">
    <DIV style="position:absolute;left:0px;top:1058px;width :800px;height:527px;z-index:36" align="left">
    <IMG src="bv01311.gif" align="top" alt="" border="0" width="800" height="527">
    </DIV>
    <DIV style="position:absolute;left:55px;top:5px;width:6 98px;height:51px;z-index:37" align="left">
    <FONT style="font-size:32px" color="#000000" face="Papyrus"><B>UrBan CouTuRe Paper WeDDing StuFF</B></FONT>
    </DIV>
    <DIV style="position:absolute;left:531px;top:1558px;wid th:266px;height:16px;z-index:38" align="left">
    <FONT style="font-size:13px" color="#000000" face="Arial">&#169; 2006 Urban Conture Paper Wedding Stuff.</FONT>
    </DIV>
    <DIV style="position:absolute;left:159px;top:105px;widt h:475px;height:20px;background-color:#C7C78D;z-index:39" align="left">
    <MARQUEE direction="left" height="20" scrolldelay="90" scrollamount="6" behavior="scroll" loop="0" style="font-family:Lucida Handwriting;font-size:13px;font-weight:bold;text-decoration:none;color:#FFFFFF;background-color:#C7C78D;">Side by side, Rarely apart, Hand in hand, Heart to heart</MARQUEE>
    </DIV>
    <DIV style="position:absolute;left:7px;top:70px;width:7 75px;height:19px;z-index:40" align="left">
    <STYLE type="text/css">
    .ThemeDefault1Menu,.ThemeDefault1SubMenuTable
    {
    font-family: Arial, arial, sans-serif;
    font-size: 15px;
    color: #000000;
    background-color: #C0C0C0;
    font-weight: normal;
    padding: 0;
    border: 0;
    cursor: pointer;
    }
    .ThemeDefault1SubMenu
    {
    position: absolute;
    visibility: hidden;
    z-index: 100;
    border: 0;
    padding: 0;
    }
    .ThemeDefault1SubMenuTable
    {
    border-top: 1px solid white;
    }
    .ThemeDefault1SubMenuTable TD
    {
    white-space: nowrap;
    }
    .ThemeDefault1MainItem,.ThemeDefault1MainItemHover ,.ThemeDefault1MainItemActive,
    .ThemeDefault1MenuItem,.ThemeDefault1MenuItemHover ,.ThemeDefault1MenuItemActive
    {
    white-space: nowrap;
    }
    .ThemeDefault1MainItemHover,.ThemeDefault1MainItem Active,
    .ThemeDefault1MenuItemHover,.ThemeDefault1MenuItem Active
    {
    color: #FFFFFF;
    background-color: #808040;
    font-weight: normal;
    font-size: 15px;
    }
    .ThemeDefault1MenuSplit
    {
    height: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
    overflow: hidden;
    background-color: inherit;
    border-top: 1px solid white;
    }
    .ThemeDefault1MenuVSplit
    {
    width: 1px;
    margin: 0px;
    overflow: hidden;
    background-color: inherit;
    border-right: 1px solid white;
    }
    </STYLE>
    <SCRIPT type="text/javascript">
    <!--
    var bvMenu1 =
    [
    [null, 'Home', 'http://urbancouturepaperweddingstuff.com/', '_self', 'Home'],
    _cmSplit,
    [null, 'Collections', null, '_self', 'Collections',
    [null, 'Urban', 'http://urbancouturepaperweddingstuff.com/urban%20col.html', '_self', 'Urban',
    [null, 'Urban&nbsp;Details', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE9.html', '_self', 'Urban Details']
    ],
    [null, 'Romanze', 'http://urbancouturepaperweddingstuff.com/Romanze%20Col.html', '_self', 'Romanze',
    [null, 'Romanze&nbsp;1&nbsp;Details', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE10.html', '_self', 'Romanze 1 Details'],
    [null, 'Romanze&nbsp;2&nbsp;and&nbsp;2A', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE11.html', '_self', 'Romanze 2 and 2A'],
    [null, 'Romanze&nbsp;3&nbsp;and&nbsp;3A', 'http://urbancouturepaperweddingstuff.com/romanze3n3adetails.html', '_self', 'Romanze 3 and 3A'],
    [null, 'Romanze&nbsp;4&nbsp;and&nbsp;4A', 'http://urbancouturepaperweddingstuff.com/romanze4n4adetails.html', '_self', 'Romanze 4 and 4A']
    ],
    [null, 'Sublime&nbsp;Bloomz', 'http://urbancouturepaperweddingstuff.com/Sublime%20Bloomz%20Col.html', '_self', 'Sublime Bloomz',
    [null, 'Sublime&nbsp;Bloomz&nbsp;Details&nbsp;A', 'http://urbancouturepaperweddingstuff.com/sublimebloomzA%20detail.html', '_self', 'Sublime Bloomz Details A'],
    [null, 'Sublime&nbsp;Bloomz&nbsp;Details&nbsp;B', 'http://urbancouturepaperweddingstuff.com/URBANCOUTR16.html', '_self', 'Sublime Bloomz Details B'],
    [null, 'Sublime&nbsp;Bloomz&nbsp;Details&nbsp;C', 'http://urbancouturepaperweddingstuff.com/URBANCOUTR17.html', '_self', 'Sublime Bloomz Details C']
    ],
    [null, 'Swirlz&nbsp;and&nbsp;Pearlz', 'http://urbancouturepaperweddingstuff.com/Swirlz%20and%20Pearlz%20Col.html', '_self', 'Swirlz and Pearlz',
    [null, 'Swirlz&nbsp;And&nbsp;Pearlz&nbsp;Details', null, '_self', 'Swirlz And Pearlz Details']
    ],
    [null, 'Dazie&nbsp;Dazie', 'http://urbancouturepaperweddingstuff.com/Daize%20Daize%20col.html', '_self', 'Dazie Dazie',
    [null, 'Dazie&nbsp;Dazie&nbsp;Details', 'http://urbancouturepaperweddingstuff.com/Daize%20Daize%20Details.html', '_self', 'Dazie Dazie Details']
    ],
    [null, 'Bedazzled', 'http://urbancouturepaperweddingstuff.com/Bedazzled%20Col.html', '_self', 'Bedazzled',
    [null, 'Beddazzled&nbsp;Stars&nbsp;and&nbsp;Flowers&nbsp; Details', 'http://urbancouturepaperweddingstuff.com/BeddazzledSNF%20Details.html', '_self', 'Beddazzled Stars and Flowers Details'],
    [null, 'Bedazzled&nbsp;Crystals&nbsp;details', 'http://urbancouturepaperweddingstuff.com/BeddazzledA%20Details.html', '_self', 'Bedazzled Crystals details']
    ],
    [null, 'Its&nbsp;a&nbsp;Wrap', 'http://urbancouturepaperweddingstuff.com/Its%20A%20Wrap%20Col.html', '_self', 'Its a Wrap',
    [null, 'Its&nbsp;A&nbsp;Wrap&nbsp;Details', 'http://urbancouturepaperweddingstuff.com/its%20a%20Wrap%20Details.html', '_self', 'Its A Wrap Details']
    ],
    [null, 'U&nbsp;Got&nbsp;Heart', 'http://urbancouturepaperweddingstuff.com/UGot%20Heart%20Col.html', '_self', 'U Got Heart',
    [null, 'U&nbsp;Got&nbsp;Heart&nbsp;feathers&nbsp;Details' , 'http://urbancouturepaperweddingstuff.com/UGot%20Heart%20feathersdetails.html', '_self', 'U Got Heart feathers Details'],
    [null, 'U&nbsp;Got&nbsp;Heart&nbsp;Hammered', 'http://urbancouturepaperweddingstuff.com/UGot%20Heart%20hammereddetails.html', '_self', 'U Got Heart Hammered'],
    [null, 'U&nbsp;Got&nbsp;Heart&nbsp;to&nbsp;have&nbsp;and& nbsp;to&nbsp;hold', 'http://urbancouturepaperweddingstuff.com/UGot%20Heart%20to%20have%20and%20to%20holddetails. html', '_self', 'U Got Heart to have and to hold']
    ],
    [null, 'Tru&nbsp;2&nbsp;Trad', 'http://urbancouturepaperweddingstuff.com/Tru%202%20Trad.html', '_self', 'Tru 2 Trad',
    [null, 'Tru&nbsp;2&nbsp;Trad&nbsp;celebrate&nbsp;Details' , 'http://urbancouturepaperweddingstuff.com/tru2tradcelDetails.html', '_self', 'Tru 2 Trad celebrate Details'],
    [null, 'Tru&nbsp;2&nbsp;Trad&nbsp;From&nbsp;This&nbsp;Day &nbsp;Forward&nbsp;details', 'http://urbancouturepaperweddingstuff.com/tru2tradthisdayDetails.html', '_self', 'Tru 2 Trad From This Day Forward details']
    ],
    [null, 'Lillez', 'http://urbancouturepaperweddingstuff.com/Lilliez%20Col.html', '_self', 'Lillez',
    [null, 'Lillez&nbsp;Details', 'http://urbancouturepaperweddingstuff.com/Lilliezdetail.html', '_self', 'Lillez Details']
    ]
    ],
    _cmSplit,
    [null, 'Style&nbsp;Section', null, '_self', 'Style Section',
    [null, 'Font&nbsp;Style', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE3.html', '_self', 'Font Style'],
    [null, 'Wording&nbsp;Style&nbsp;1', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE5.html', '_self', 'Wording Style 1'],
    [null, 'Wording&nbsp;Style&nbsp;2', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE5a.html', '_self', 'Wording Style 2']
    ],
    _cmSplit,
    [null, 'Terms&nbsp;and&nbsp;Conditions', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE7.html', '_self', 'Terms and Conditions'],
    _cmSplit,
    [null, 'Order&nbsp;Info', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE2.html', '_self', 'Order Info'],
    _cmSplit,
    [null, 'Prices', 'http://urbancouturepaperweddingstuff.com/Price%20list.html', '_self', 'Prices',
    [null, 'Star&nbsp;Dreams&nbsp;Option', 'http://urbancouturepaperweddingstuff.com/stardream%20option.html', '_self', 'Star Dreams Option'],
    [null, 'Double&nbsp;Fold&nbsp;Double&nbsp;sided&nbsp;irre descent&nbsp;cards', 'http://urbancouturepaperweddingstuff.com/Double%20fold%20option.html', '_self', 'Double Fold Double sided irredescent cards']
    ],
    _cmSplit,
    [null, 'Bespoke', null, '_self', 'Bespoke'],
    _cmSplit,
    [null, 'Bride&nbsp;and&nbsp;Groom&nbsp;Guide', 'http://urbancouturepaperweddingstuff.com/URBANCOUTRE6.html', '_self', 'Bride and Groom Guide'],
    _cmSplit,
    [null, 'Contact&nbsp;Us', 'http://urbancouturepaperweddingstuff.com/contactus.html', '_self', 'Contact Us'],
    _cmSplit
    ];
    -->
    </SCRIPT>
    <DIV ID=MenuID1></DIV>
    <SCRIPT type="text/javascript">
    <!--
    var cmThemeDefault1 =
    {
    mainFolderLeft: '',
    mainFolderRight: '',
    mainItemLeft: '',
    mainItemRight: '',
    folderLeft: '',
    folderRight: '',
    itemLeft: '',
    itemRight: '',
    mainSpacing: 0,
    subSpacing: 0,
    delay: 100
    };
    var cmThemeDefault1HSplit = [_cmNoAction, '<TD colspan="3" style="height: 3px; overflow: hidden"><DIV class="ThemeDefault1MenuSplit"></DIV></TD>'];
    var cmThemeDefault1MainHSplit = [_cmNoAction, '<TD colspan="3"><div class="ThemeDefault1MenuSplit"></DIV></TD>'];
    var cmThemeDefault1MainVSplit = [_cmNoAction, '<DIV class="ThemeDefault1MenuVSplit"></DIV>'];
    cmDraw('MenuID1', bvMenu1, 'hbr', cmThemeDefault1, 'ThemeDefault1');
    -->
    </SCRIPT>
    </DIV>
    <DIV style="position:absolute;left:20px;top:375px;width :150px;height:22px;z-index:41" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Sample Order Form</FONT>
    </DIV>
    <DIV style="position:absolute;left:14px;top:427px;width :770px;height:44px;z-index:42" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Single Samples and Sample packs are made to your individual requirements. Please use the sample order form to provide me with your required details to personalise your sample</FONT>
    </DIV>
    <DIV style="position:absolute;left:16px;top:480px;width :644px;height:816px;z-index:43" align="left">
    <FORM name="Sample form" method="POST" action="processingpage2.php" enctype="multipart/form-data">
    <INPUT type="text" style="position:absolute;left:169px;top:42px;width :144px;z-index:0" size="18" name="Name" value="Name">
    <DIV style="position:absolute;left:10px;top:45px;width: 150px;height:16px;z-index:1" align="left">
    <FONT style="font-size:13px" color="#000000" face="Arial"><B>Name</B></FONT>
    </DIV>
    <TEXTAREA name="Address" style="position:absolute;left:170px;top:75px;width :295px;height:93px;z-index:2" rows=5 cols=34>Address</TEXTAREA>
    <DIV style="position:absolute;left:12px;top:77px;width: 150px;height:16px;z-index:3" align="left">
    <FONT style="font-size:13px" color="#000000" face="Arial"><B>Address</B></FONT>
    </DIV>
    <DIV style="position:absolute;left:17px;top:191px;width :150px;height:16px;z-index:4" align="left">
    <FONT style="font-size:13px" color="#000000" face="Arial"><B>Tel No.</B></FONT>
    </DIV>
    <INPUT type="text" style="position:absolute;left:174px;top:185px;widt h:272px;z-index:5" size="34" name="TelNo" value="Tel No. Please inc dailing code">
    <DIV style="position:absolute;left:20px;top:227px;width :150px;height:16px;z-index:6" align="left">
    <FONT style="font-size:13px" color="#000000" face="Arial"><B>Email</B></FONT>
    </DIV>
    <INPUT type="text" style="position:absolute;left:175px;top:218px;widt h:272px;z-index:7" size="34" name="Email" value="Email Address">
    <DIV style="position:absolute;left:19px;top:268px;width :167px;height:22px;z-index:8" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype"><B>Please enter below</B></FONT>
    </DIV>
    <DIV style="position:absolute;left:17px;top:300px;width :154px;height:22px;z-index:9" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype"> Your choice of design</FONT>
    </DIV>
    <DIV style="position:absolute;left:23px;top:339px;width :150px;height:16px;z-index:10" align="left">
    <FONT style="font-size:13px" color="#000000" face="Arial">Card Style</FONT>
    </DIV>
    <INPUT type="text" style="position:absolute;left:175px;top:298px;widt h:280px;z-index:11" size="35" name="Design" value="Design">
    <INPUT type="text" style="position:absolute;left:175px;top:335px;widt h:280px;z-index:12" size="35" name="card style" value="Card style">
    <DIV style="position:absolute;left:24px;top:367px;width :150px;height:16px;z-index:13" align="left">
    <FONT style="font-size:13px" color="#000000" face="Arial">Card Size</FONT>
    </DIV>
    <INPUT type="text" style="position:absolute;left:174px;top:367px;widt h:280px;z-index:14" size="35" name="card size" value="Card Size">
    <DIV style="position:absolute;left:25px;top:400px;width :150px;height:16px;z-index:15" align="left">
    <FONT style="font-size:13px" color="#000000" face="Arial">Colour</FONT>
    </DIV>
    <INPUT type="text" style="position:absolute;left:173px;top:399px;widt h:280px;z-index:16" size="35" name="Colour" value="Colour">
    <DIV style="position:absolute;left:21px;top:454px;width :150px;height:22px;z-index:17" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Sample pack&nbsp;&nbsp; A</FONT>
    </DIV>
    <INPUT type="checkbox" name="Sample pack A" value="yes" style="position:absolute;left:162px;top:456px;z-index:18">
    <DIV style="position:absolute;left:206px;top:452px;widt h:150px;height:22px;z-index:19" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Ceremony Invitation</FONT>
    </DIV>
    <DIV style="position:absolute;left:449px;top:451px;widt h:150px;height:22px;z-index:20" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">UK as price list</FONT>
    </DIV>
    <DIV style="position:absolute;left:22px;top:515px;width :150px;height:22px;z-index:21" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Sample pack&nbsp;&nbsp; B</FONT>
    </DIV>
    <INPUT type="checkbox" name="Sample Pack B" value="Yes" style="position:absolute;left:160px;top:517px;z-index:22">
    <DIV style="position:absolute;left:202px;top:512px;widt h:150px;height:44px;z-index:23" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Ceremony Invitation &amp; Evening </FONT><FONT style="font-size:16px" color="#000000" face="Palatino Linotype"> Invitation</FONT>
    </DIV>
    <DIV style="position:absolute;left:448px;top:508px;widt h:150px;height:22px;z-index:24" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">UK £5</FONT>
    </DIV>
    <DIV style="position:absolute;left:28px;top:596px;width :150px;height:22px;z-index:25" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Sample pack&nbsp;&nbsp; C</FONT>
    </DIV>
    <DIV style="position:absolute;left:201px;top:590px;widt h:150px;height:66px;z-index:26" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Ceremony Invitation,&nbsp; RSVP, Order Of Service</FONT>
    </DIV>
    <DIV style="position:absolute;left:447px;top:589px;widt h:150px;height:22px;z-index:27" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">UK £6.50</FONT>
    </DIV>
    <INPUT type="checkbox" name="Sample Pack C" value="Yes" style="position:absolute;left:157px;top:598px;z-index:28">
    <DIV style="position:absolute;left:33px;top:676px;width :150px;height:22px;z-index:29" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Sample pack&nbsp;&nbsp; D</FONT>
    </DIV>
    <INPUT type="checkbox" name="Sample Pack D" value="Yes" style="position:absolute;left:159px;top:676px;z-index:30">
    <DIV style="position:absolute;left:446px;top:672px;widt h:150px;height:22px;z-index:31" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">UK £11.50</FONT>
    </DIV>
    <DIV style="position:absolute;left:199px;top:666px;widt h:150px;height:110px;z-index:32" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Ceremony Invitation,&nbsp; RSVP, Order Of Service, Menu, Place Card, Thank You Card</FONT>
    </DIV>
    <INPUT type="submit" name="submit" value="Send Now" style="position:absolute;left:198px;top:786px;widt h:106px;height:24px;z-index:33">
    <INPUT type="reset" name="reset" value="Reset" style="position:absolute;left:312px;top:785px;widt h:105px;height:24px;z-index:34">
    </FORM>
    </DIV>
    <DIV style="position:absolute;left:608px;top:932px;widt h:150px;height:44px;z-index:44" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">International please add £2</FONT>
    </DIV>
    <DIV style="position:absolute;left:610px;top:984px;widt h:150px;height:44px;z-index:45" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">International please add £2</FONT>
    </DIV>
    <DIV style="position:absolute;left:607px;top:1066px;wid th:150px;height:22px;z-index:46" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">International £9.50</FONT>
    </DIV>
    <DIV style="position:absolute;left:613px;top:1147px;wid th:150px;height:22px;z-index:47" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">International £12.50</FONT>
    </DIV>
    <DIV style="position:absolute;left:39px;top:1300px;widt h:618px;height:22px;z-index:48" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">* Please note * </FONT><FONT style="font-size:16px" color="#000000" face="Palatino Linotype">Civil Ceremonies Order of the Day will replace the Order of Service </FONT>
    </DIV>
    <DIV style="position:absolute;left:38px;top:1321px;widt h:262px;height:22px;z-index:49" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">** All Prices inclusive of P &amp; P&nbsp; **</FONT>
    </DIV>
    <DIV style="position:absolute;left:39px;top:1346px;widt h:589px;height:22px;z-index:50" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">SAMPLE COSTS WILL BE DEDUCTED FROM YOUR </FONT><FONT style="font-size:16px" color="#000000" face="Palatino Linotype">STATIONARY ORDER</FONT>
    </DIV>
    <DIV style="position:absolute;left:32px;top:1379px;widt h:150px;height:22px;z-index:51" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">** Please note&nbsp; **</FONT>
    </DIV>
    <DIV style="position:absolute;left:34px;top:1396px;widt h:550px;height:66px;z-index:52" align="left">
    <FONT style="font-size:16px" color="#000000" face="Palatino Linotype">By purchasing sample/samples you are entering into a legally binding agreement that the sample/samples are for personal use only and will not be *******ted by yourself or by </FONT><FONT style="font-size:16px" color="#000000" face="Palatino Linotype">a third party.</FONT>
    </DIV>
    </DIV>
    </BODY>
    </HTML>

    Can anyone see where I'm going wrong?

    Thanks for any help

    Karen
  • davidundalicia
    General

    • Mar 2006
    • 6294

    #2
    Re: Script help Please

    You didnt need to publish the page html..............

    Anyhow, as you have used one of my scripts, you need to change a few things........
    You have a blank space after one of your $ signs here (@$ Address= addslashes($_POST['Address']); )
    You can not have blank spaces between the names that follow your other $ signs (see below)
    (@$Card Style = addslashes($_POST['Card sytle']); use the underscore between the names (i.e. @$Card_Style = addslashes($_POST['Card sytle']);
    Then dont forget to make the same changes in your form field names.

    You also have an outdated script, in terms of security......

    If you are interested in an uptodate script, please contact me
    Have fun
    Regards..... David

    Step by Step Visual Tutorials for the complete beginner
    Newbies / Beginners Forum
    FREE Membership Login Scripts: - Meta Tags Analyzer
    My Social Networking Site - Free Contact Forms
    Finished your New website!! Now get it noticed Here:

    Comment

    Working...
    X