473,326 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

php form help

Don't laugh lol I know your all php guru's : )

Ok, so I have little if any knowledge with the programming language php
- only having created small enquiry forms. Now I have a client that
needs a job order form with a little more function than having solely
contact details and a big enquiry text area.

The form I created in HTML is located at
http://www.ebesign.co.nz/projects/ju...rder_form.html
and has used javascript to validate the fields against spammers etc but
now I am looking to process it all in a php form using the mail
function.

Basically I want my form to gather all the information including check
boxes, drop down menu's and to email it to my client - simple enough
request but I don't know the code and cannot find a worth while
tutorial or php resource ( most out there are simple forms without
drops downs, etc )

Any help, suggestions, or recommendations?

Much Appreciated netizens.
Liam

Nov 28 '06 #1
12 2205
On 28 Nov 2006 06:09:43 -0800, "liamo" <li**********@gmail.comwrote:
>Don't laugh lol I know your all php guru's : )

Ok, so I have little if any knowledge with the programming language php
- only having created small enquiry forms. Now I have a client that
needs a job order form with a little more function than having solely
contact details and a big enquiry text area.

The form I created in HTML is located at
http://www.ebesign.co.nz/projects/ju...rder_form.html
and has used javascript to validate the fields against spammers etc but
now I am looking to process it all in a php form using the mail
function.

Basically I want my form to gather all the information including check
boxes, drop down menu's and to email it to my client - simple enough
request but I don't know the code and cannot find a worth while
tutorial or php resource ( most out there are simple forms without
drops downs, etc )

Any help, suggestions, or recommendations?

Much Appreciated netizens.
Liam
OK, I am not laughing but am somewhat amused, mostly because you have
a lot of learning ahead of you. ;-) I would imagine that there is a
time for learning and a time to finish a project and move on to the
next, so I offer a quick solution.

Primarily what you need to do is take all of those form vars and plug
them into the body of an email. Posting a form creates an array of
keys and values. Let's just return those to the email:

foreach ($_POST as $key=>$value) {
$bodyArr[] = "$key : $value";
}

$body = implode ("\n", $bodyArr);

mail ($to, $subject, $body, $headers);

So what I have done here is take every POST var, created an array of
values and keys, then added them to the body of the email with a
newline between each.

Of course, some of those vars you may not want to pass to the email,
so you can filter those out and capitalizing the keys would be nice:

$noSendArr = array ('submit');

foreach ($_POST as $key=>$value) {
if (!in_array ($key, $noSendArr) {
$bodyArr[] = ucwords($key)." : $value";
}
}

That should get you started. Good luck!
Nov 28 '06 #2
Message-ID: <11**********************@j72g2000cwa.googlegroups .comfrom
liamo contained the following:
>Basically I want my form to gather all the information including check
boxes, drop down menu's and to email it to my client - simple enough
request but I don't know the code and cannot find a worth while
tutorial or php resource ( most out there are simple forms without
drops downs, etc )

Any help, suggestions, or recommendations?
You could use:
http://www.ckdog.co.uk/phmail

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Nov 28 '06 #3
<comp.lang.php>
<liamo>
<28 Nov 2006 06:09:43 -0800>
<11**********************@j72g2000cwa.googlegroups .com>
The form I created in HTML is located at
http://www.ebesign.co.nz/projects/ju...rder_form.html
and has used javascript to validate the fields against spammers etc but
now I am looking to process it all in a php form using the mail
function.
Very easy to do once you understand how forms work with php .
Basically I want my form to gather all the information including check
boxes, drop down menu's and to email it to my client - simple enough
request but I don't know the code and cannot find a worth while
tutorial or php resource ( most out there are simple forms without
drops downs, etc )

<html>
<head>

<title>form.php</title>

</head>

<body>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<form action="form_submit.php" method="post">

<tr valign="top">
<td>Your Name:</td>
<td>&nbsp;&nbsp;&nbsp;</td>
<td><input type="text" name="phil_one" size="65"></td>
</tr>

<tr valign="top">
<td>Comments:</td>
<td></td>
<td><textarea cols="65" rows="11" name="phil_two"></textarea></td>
</tr>

<tr valign="top">
<td></td>
<td></td>
<td><input type="submit" name="Submit" value="SUBMIT"></td>
</tr>

</form>

</table>

</body>
</html>

<html>
<head>

<title>form_submit.php</title>

</head>

<body>

<?php
$demo1=$_POST['phil_one'];
$demo2=$_POST['phil_two'];
?>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<tr valign="top">
<td>The name you entered was:</td>
<td>&nbsp;&nbsp;&nbsp;</td>
<td><?php print $demo1; ?></td>
</tr>

<tr>
<td>The comments you entered are:</td>
<td></td>
<td><?php print $demo2; ?></td>
</tr>

</table>

<?php

$ewho="we*******@yourdomain.com";

$datesent=date("l dS of F Y h:i A");

$ip=$_SERVER['REMOTE_ADDR'];

$subject="FROM THE WEBSITE FORM";

$mailhead="From: $ewho \n";

$mailbody ="This email was sent via the website form" . "\n\n";
$mailbody .="NAME: " . "$demo1" . "\n\n";
$mailbody .="COMMENTS: " . "$demo2" . "\n\n";
$mailbody .="DATE: " . "$datesent" . "\n\n";
$mailbody .="IP: " . "$ip" . "\n\n";

$body .=stripslashes($mailbody);

mail($ewho,$subject,$body,$mailhead);

?>

</body>
</html>
Basically all you have to do is learn a bit more about forms and add
your new knowledge to the above .

Drop down box selections and tick boxes are passed in the same way to
the next page - so its really just a matter of giving them a name that
doesnt clash with "phil_one" or "phil_two" .

"phil_three"
"phil_four"

etc would work fine .
--
www.phpwhois.co.uk
Nov 28 '06 #4
<comp.lang.php>
<liamo>
<28 Nov 2006 06:09:43 -0800>
<11**********************@j72g2000cwa.googlegroups .com>
Ok, so I have little if any knowledge with the programming language php
- only having created small enquiry forms. Now I have a client that
needs a job order form with a little more function than having solely
contact details and a big enquiry text area.

The form I created in HTML is located at
http://www.ebesign.co.nz/projects/ju...rder_form.html
Ahhh what the hell i wrote the form for you as there isnt a lot on tv
tonight and because writing the full thing really annoys some people on
this newsgroup - so its your lucky day dude .

$ewho="we*******@yourdomain.com";

The email address on the 2nd page is the only thing you need to edit in
order to test the form / script .

<html>
<head>

<title>aform.php</title>

</head>

<body>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<form action="aform_submit.php" method="post">

<tr valign="top">
<td>Your Full Name :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_01" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Email Address :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_02" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Contact Number :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_03" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Full Address : (job location)</td>
</tr>

<tr valign="top">
<td><textarea cols="50" rows="5" name="krusty_04"></textarea></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Type :</td>
</tr>

<tr valign="top">
<td>
<input type="checkbox" name="krusty_05" value="checked"Interior &nbsp;
<input type="checkbox" name="krusty_06" value="checked"Exterior &nbsp;
<input type="checkbox" name="krusty_07" value="checked"Both &nbsp;
<input type="checkbox" name="krusty_08" value="checked"Dont Know
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior Job :</td>
</tr>

<tr valign="top">
<td>
<select name="krusty_09">
<option value="Please Select ....." selected>Please Select .....
</option>
<option value="Leaking taps">Leaking taps</option>
<option value="Broken window catches">Broken window catches</option>
<option value="Jamming doors">Jamming doors</option>
<option value="Security stays">Security stays</option>
<option value="Door handles">Door handles</option>
<option value="Install door stops">Install door stops</option>
<option value="Interior house painting">Interior house painting</option>
<option value="Gib board repairs">Gib board repairs</option>
<option value="Gib board repairs">Gib board repairs</option>
<option value="Install curtain rails">Install curtain rails</option>
<option value="Tiling">Tiling</option>
<option value="Ranch slider bearings">Ranch slider bearings</option>
<option value="Replace hinges doors/cabinets">Replace hinges
doors/cabinets</option>
<option value="Wardrobe rails">Wardrobe rails</option>
<option value="Heated towel rail bracket replacement">Heated towel rail
bracket replacement</option>
<option value="Hand rail, toilet roll holder installation">Hand rail,
toilet roll holder installation</option>
<option value="Internal door installation">Internal door installation
</option>
<option value="Replace bathroom vanity">Replace bathroom vanity</option>
<option value="Remove broken light bulbs from sockets">Remove broken
light bulbs from sockets</option>
<option value="Shower door seals">Shower door seals</option>
<option value="Shower head replacement">Shower head replacement</option>
<option value="Dont Know">Dont Know</option>
<option value="None">None</option>
<option value="Other">Other</option>
</select>
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior Job :</td>
</tr>

<tr valign="top">
<td>
<select name="krusty_10">
<option value="Please Select ....." selected>Please Select .....
</option>
<option value="Fencing">Fencing</option>
<option value="Retaining">Retaining</option>
<option value="Gardening">Gardening</option>
<option value="Clean out gutters & repairs">Clean out gutters & repairs
</option>
<option value="Exterior house painting">Exterior house painting</option>
<option value="Letterbox replacement">Letterbox replacement</option>
<option value="Replace washing lines">Replace washing lines</option>
<option value="Waterblasting path/decks">Waterblasting path/decks
</option>
<option value="Repair decking & steps">Repair decking & steps</option>
<option value="Lawn mowing">Lawn mowing</option>
<option value="Rubbish removal">Rubbish removal</option>
<option value="Weather board repairs">Weather board repairs</option>
<option value="Weed Spraying">Weed Spraying</option>
<option value="Dont Know">Dont Know</option>
<option value="None">None</option>
<option value="Other">Other</option>
</select>
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Description :</td>
</tr>

<tr valign="top">
<td><textarea cols="50" rows="9" name="krusty_11"></textarea></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td><input type="submit" name="Submit" value="SUBMIT"></td>
</tr>

</form>

</table>

</body>
</html>


<html>
<head>

<title>aform_submit.php</title>

</head>

<body>

<?php
$homer01=$_POST['krusty_01'];
$homer02=$_POST['krusty_02'];
$homer03=$_POST['krusty_03'];
$homer04=$_POST['krusty_04'];
$homer05=$_POST['krusty_05'];
$homer06=$_POST['krusty_06'];
$homer07=$_POST['krusty_07'];
$homer08=$_POST['krusty_08'];
$homer09=$_POST['krusty_09'];
$homer10=$_POST['krusty_10'];
$homer11=$_POST['krusty_11'];
?>

<?php

$marge5="Not Selected";
if ($homer05=="checked") {$marge5="TICKED AND SELECTED";}

$marge6="Not Selected";
if ($homer06=="checked") {$marge6="TICKED AND SELECTED";}

$marge7="Not Selected";
if ($homer07=="checked") {$marge7="TICKED AND SELECTED";}

$marge8="Not Selected";
if ($homer08=="checked") {$marge8="TICKED AND SELECTED";}

?>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<tr valign="top">
<td>Your Full Name :</td>
</tr>

<tr valign="top">
<td><?php print $homer01; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Email Address :</td>
</tr>

<tr valign="top">
<td><?php print $homer02; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Contact Number :</td>
</tr>

<tr valign="top">
<td><?php print $homer03; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Full Address : (job location)</td>
</tr>

<tr valign="top">
<td><?php print $homer04; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior</td>
</tr>

<tr valign="top">
<td><?php print $marge5; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior</td>
</tr>

<tr valign="top">
<td><?php print $marge6; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Both</td>
</tr>

<tr valign="top">
<td><?php print $marge7; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Dont Know</td>
</tr>

<tr valign="top">
<td><?php print $marge8; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior Job :</td>
</tr>

<tr valign="top">
<td><?php print $homer09; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior Job :</td>
</tr>

<tr valign="top">
<td><?php print $homer10; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Description :</td>
</tr>

<tr valign="top">
<td><?php print $homer11; ?></td>
</tr>

</table>

<?php

$ewho="we*******@yourdomain.com";

$datesent=date("l dS of F Y h:i A");

$ip=$_SERVER['REMOTE_ADDR'];

$subject="FROM THE WEBSITE FORM";

$mailhead="From: $ewho \n";

$mailbody ="This email was sent via the website form" . "\n\n";
$mailbody .="DATE: " . "$datesent" . "\n\n";
$mailbody .="IP: " . "$ip" . "\n\n";
$mailbody .="Full Name: " . "$krusty_01" . "\n\n";
$mailbody .="Email Address: " . "$krusty_02" . "\n\n";
$mailbody .="Contact Number: " . "$krusty_03" . "\n\n";
$mailbody .="Full Address (job location) : " . "$krusty_04" . "\n\n";
$mailbody .="Interior {box): " . "$marge5" . "\n\n";
$mailbody .="Exterior {box): " . "$marge6" . "\n\n";
$mailbody .="Both {box): " . "$marge7" . "\n\n";
$mailbody .="Dont Know {box): " . "$marge8" . "\n\n";
$mailbody .="Interior Job: " . "$krusty_09" . "\n\n";
$mailbody .="Exterior Job: " . "$krusty_10" . "\n\n";
$mailbody .="Job Description: " . "$krusty_11" . "\n\n";

$body .=stripslashes($mailbody);

mail($ewho,$subject,$body,$mailhead);

?>

</body>
</html>

Nov 28 '06 #5
thank you all so much and krustov the whole form! wow thanks.

Now that gives me something to work on, i will probably look into forms
and try improve.

Krustov wrote:
<comp.lang.php>
<liamo>
<28 Nov 2006 06:09:43 -0800>
<11**********************@j72g2000cwa.googlegroups .com>
Ok, so I have little if any knowledge with the programming language php
- only having created small enquiry forms. Now I have a client that
needs a job order form with a little more function than having solely
contact details and a big enquiry text area.

The form I created in HTML is located at
http://www.ebesign.co.nz/projects/ju...rder_form.html

Ahhh what the hell i wrote the form for you as there isnt a lot on tv
tonight and because writing the full thing really annoys some people on
this newsgroup - so its your lucky day dude .

$ewho="we*******@yourdomain.com";

The email address on the 2nd page is the only thing you need to edit in
order to test the form / script .

<html>
<head>

<title>aform.php</title>

</head>

<body>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<form action="aform_submit.php" method="post">

<tr valign="top">
<td>Your Full Name :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_01" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Email Address :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_02" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Contact Number :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_03" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Full Address : (job location)</td>
</tr>

<tr valign="top">
<td><textarea cols="50" rows="5" name="krusty_04"></textarea></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Type :</td>
</tr>

<tr valign="top">
<td>
<input type="checkbox" name="krusty_05" value="checked"Interior &nbsp;
<input type="checkbox" name="krusty_06" value="checked"Exterior &nbsp;
<input type="checkbox" name="krusty_07" value="checked"Both &nbsp;
<input type="checkbox" name="krusty_08" value="checked"Dont Know
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior Job :</td>
</tr>

<tr valign="top">
<td>
<select name="krusty_09">
<option value="Please Select ....." selected>Please Select .....
</option>
<option value="Leaking taps">Leaking taps</option>
<option value="Broken window catches">Broken window catches</option>
<option value="Jamming doors">Jamming doors</option>
<option value="Security stays">Security stays</option>
<option value="Door handles">Door handles</option>
<option value="Install door stops">Install door stops</option>
<option value="Interior house painting">Interior house painting</option>
<option value="Gib board repairs">Gib board repairs</option>
<option value="Gib board repairs">Gib board repairs</option>
<option value="Install curtain rails">Install curtain rails</option>
<option value="Tiling">Tiling</option>
<option value="Ranch slider bearings">Ranch slider bearings</option>
<option value="Replace hinges doors/cabinets">Replace hinges
doors/cabinets</option>
<option value="Wardrobe rails">Wardrobe rails</option>
<option value="Heated towel rail bracket replacement">Heated towel rail
bracket replacement</option>
<option value="Hand rail, toilet roll holder installation">Hand rail,
toilet roll holder installation</option>
<option value="Internal door installation">Internal door installation
</option>
<option value="Replace bathroom vanity">Replace bathroom vanity</option>
<option value="Remove broken light bulbs from sockets">Remove broken
light bulbs from sockets</option>
<option value="Shower door seals">Shower door seals</option>
<option value="Shower head replacement">Shower head replacement</option>
<option value="Dont Know">Dont Know</option>
<option value="None">None</option>
<option value="Other">Other</option>
</select>
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior Job :</td>
</tr>

<tr valign="top">
<td>
<select name="krusty_10">
<option value="Please Select ....." selected>Please Select .....
</option>
<option value="Fencing">Fencing</option>
<option value="Retaining">Retaining</option>
<option value="Gardening">Gardening</option>
<option value="Clean out gutters & repairs">Clean out gutters & repairs
</option>
<option value="Exterior house painting">Exterior house painting</option>
<option value="Letterbox replacement">Letterbox replacement</option>
<option value="Replace washing lines">Replace washing lines</option>
<option value="Waterblasting path/decks">Waterblasting path/decks
</option>
<option value="Repair decking & steps">Repair decking & steps</option>
<option value="Lawn mowing">Lawn mowing</option>
<option value="Rubbish removal">Rubbish removal</option>
<option value="Weather board repairs">Weather board repairs</option>
<option value="Weed Spraying">Weed Spraying</option>
<option value="Dont Know">Dont Know</option>
<option value="None">None</option>
<option value="Other">Other</option>
</select>
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Description :</td>
</tr>

<tr valign="top">
<td><textarea cols="50" rows="9" name="krusty_11"></textarea></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td><input type="submit" name="Submit" value="SUBMIT"></td>
</tr>

</form>

</table>

</body>
</html>


<html>
<head>

<title>aform_submit.php</title>

</head>

<body>

<?php
$homer01=$_POST['krusty_01'];
$homer02=$_POST['krusty_02'];
$homer03=$_POST['krusty_03'];
$homer04=$_POST['krusty_04'];
$homer05=$_POST['krusty_05'];
$homer06=$_POST['krusty_06'];
$homer07=$_POST['krusty_07'];
$homer08=$_POST['krusty_08'];
$homer09=$_POST['krusty_09'];
$homer10=$_POST['krusty_10'];
$homer11=$_POST['krusty_11'];
?>

<?php

$marge5="Not Selected";
if ($homer05=="checked") {$marge5="TICKED AND SELECTED";}

$marge6="Not Selected";
if ($homer06=="checked") {$marge6="TICKED AND SELECTED";}

$marge7="Not Selected";
if ($homer07=="checked") {$marge7="TICKED AND SELECTED";}

$marge8="Not Selected";
if ($homer08=="checked") {$marge8="TICKED AND SELECTED";}

?>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<tr valign="top">
<td>Your Full Name :</td>
</tr>

<tr valign="top">
<td><?php print $homer01; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Email Address :</td>
</tr>

<tr valign="top">
<td><?php print $homer02; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Contact Number :</td>
</tr>

<tr valign="top">
<td><?php print $homer03; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Full Address : (job location)</td>
</tr>

<tr valign="top">
<td><?php print $homer04; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior</td>
</tr>

<tr valign="top">
<td><?php print $marge5; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior</td>
</tr>

<tr valign="top">
<td><?php print $marge6; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Both</td>
</tr>

<tr valign="top">
<td><?php print $marge7; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Dont Know</td>
</tr>

<tr valign="top">
<td><?php print $marge8; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior Job :</td>
</tr>

<tr valign="top">
<td><?php print $homer09; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior Job :</td>
</tr>

<tr valign="top">
<td><?php print $homer10; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Description :</td>
</tr>

<tr valign="top">
<td><?php print $homer11; ?></td>
</tr>

</table>

<?php

$ewho="we*******@yourdomain.com";

$datesent=date("l dS of F Y h:i A");

$ip=$_SERVER['REMOTE_ADDR'];

$subject="FROM THE WEBSITE FORM";

$mailhead="From: $ewho \n";

$mailbody ="This email was sent via the website form" . "\n\n";
$mailbody .="DATE: " . "$datesent" . "\n\n";
$mailbody .="IP: " . "$ip" . "\n\n";
$mailbody .="Full Name: " . "$krusty_01" . "\n\n";
$mailbody .="Email Address: " . "$krusty_02" . "\n\n";
$mailbody .="Contact Number: " . "$krusty_03" . "\n\n";
$mailbody .="Full Address (job location) : " . "$krusty_04" . "\n\n";
$mailbody .="Interior {box): " . "$marge5" . "\n\n";
$mailbody .="Exterior {box): " . "$marge6" . "\n\n";
$mailbody .="Both {box): " . "$marge7" . "\n\n";
$mailbody .="Dont Know {box): " . "$marge8" . "\n\n";
$mailbody .="Interior Job: " . "$krusty_09" . "\n\n";
$mailbody .="Exterior Job: " . "$krusty_10" . "\n\n";
$mailbody .="Job Description: " . "$krusty_11" . "\n\n";

$body .=stripslashes($mailbody);

mail($ewho,$subject,$body,$mailhead);

?>

</body>
</html>
Nov 28 '06 #6
um small problem.

the form emails fine but results in no values like it does not state
the name and rest in the email..

"This email was sent via the website form

DATE: Wednesday 29th of November 2006 01:22 PM

IP: 202.74.217.170

Full Name:

Email Address:

Contact Number:

Full Address (job location) :

Interior {box):

Exterior {box):

Both {box):

Dont Know {box):

Interior Job:

Exterior Job:

Job Description:
Krustov wrote:
<comp.lang.php>
<liamo>
<28 Nov 2006 06:09:43 -0800>
<11**********************@j72g2000cwa.googlegroups .com>
Ok, so I have little if any knowledge with the programming language php
- only having created small enquiry forms. Now I have a client that
needs a job order form with a little more function than having solely
contact details and a big enquiry text area.

The form I created in HTML is located at
http://www.ebesign.co.nz/projects/ju...rder_form.html

Ahhh what the hell i wrote the form for you as there isnt a lot on tv
tonight and because writing the full thing really annoys some people on
this newsgroup - so its your lucky day dude .

$ewho="we*******@yourdomain.com";

The email address on the 2nd page is the only thing you need to edit in
order to test the form / script .

<html>
<head>

<title>aform.php</title>

</head>

<body>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<form action="aform_submit.php" method="post">

<tr valign="top">
<td>Your Full Name :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_01" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Email Address :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_02" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Contact Number :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_03" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Full Address : (job location)</td>
</tr>

<tr valign="top">
<td><textarea cols="50" rows="5" name="krusty_04"></textarea></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Type :</td>
</tr>

<tr valign="top">
<td>
<input type="checkbox" name="krusty_05" value="checked"Interior &nbsp;
<input type="checkbox" name="krusty_06" value="checked"Exterior &nbsp;
<input type="checkbox" name="krusty_07" value="checked"Both &nbsp;
<input type="checkbox" name="krusty_08" value="checked"Dont Know
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior Job :</td>
</tr>

<tr valign="top">
<td>
<select name="krusty_09">
<option value="Please Select ....." selected>Please Select .....
</option>
<option value="Leaking taps">Leaking taps</option>
<option value="Broken window catches">Broken window catches</option>
<option value="Jamming doors">Jamming doors</option>
<option value="Security stays">Security stays</option>
<option value="Door handles">Door handles</option>
<option value="Install door stops">Install door stops</option>
<option value="Interior house painting">Interior house painting</option>
<option value="Gib board repairs">Gib board repairs</option>
<option value="Gib board repairs">Gib board repairs</option>
<option value="Install curtain rails">Install curtain rails</option>
<option value="Tiling">Tiling</option>
<option value="Ranch slider bearings">Ranch slider bearings</option>
<option value="Replace hinges doors/cabinets">Replace hinges
doors/cabinets</option>
<option value="Wardrobe rails">Wardrobe rails</option>
<option value="Heated towel rail bracket replacement">Heated towel rail
bracket replacement</option>
<option value="Hand rail, toilet roll holder installation">Hand rail,
toilet roll holder installation</option>
<option value="Internal door installation">Internal door installation
</option>
<option value="Replace bathroom vanity">Replace bathroom vanity</option>
<option value="Remove broken light bulbs from sockets">Remove broken
light bulbs from sockets</option>
<option value="Shower door seals">Shower door seals</option>
<option value="Shower head replacement">Shower head replacement</option>
<option value="Dont Know">Dont Know</option>
<option value="None">None</option>
<option value="Other">Other</option>
</select>
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior Job :</td>
</tr>

<tr valign="top">
<td>
<select name="krusty_10">
<option value="Please Select ....." selected>Please Select .....
</option>
<option value="Fencing">Fencing</option>
<option value="Retaining">Retaining</option>
<option value="Gardening">Gardening</option>
<option value="Clean out gutters & repairs">Clean out gutters & repairs
</option>
<option value="Exterior house painting">Exterior house painting</option>
<option value="Letterbox replacement">Letterbox replacement</option>
<option value="Replace washing lines">Replace washing lines</option>
<option value="Waterblasting path/decks">Waterblasting path/decks
</option>
<option value="Repair decking & steps">Repair decking & steps</option>
<option value="Lawn mowing">Lawn mowing</option>
<option value="Rubbish removal">Rubbish removal</option>
<option value="Weather board repairs">Weather board repairs</option>
<option value="Weed Spraying">Weed Spraying</option>
<option value="Dont Know">Dont Know</option>
<option value="None">None</option>
<option value="Other">Other</option>
</select>
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Description :</td>
</tr>

<tr valign="top">
<td><textarea cols="50" rows="9" name="krusty_11"></textarea></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td><input type="submit" name="Submit" value="SUBMIT"></td>
</tr>

</form>

</table>

</body>
</html>


<html>
<head>

<title>aform_submit.php</title>

</head>

<body>

<?php
$homer01=$_POST['krusty_01'];
$homer02=$_POST['krusty_02'];
$homer03=$_POST['krusty_03'];
$homer04=$_POST['krusty_04'];
$homer05=$_POST['krusty_05'];
$homer06=$_POST['krusty_06'];
$homer07=$_POST['krusty_07'];
$homer08=$_POST['krusty_08'];
$homer09=$_POST['krusty_09'];
$homer10=$_POST['krusty_10'];
$homer11=$_POST['krusty_11'];
?>

<?php

$marge5="Not Selected";
if ($homer05=="checked") {$marge5="TICKED AND SELECTED";}

$marge6="Not Selected";
if ($homer06=="checked") {$marge6="TICKED AND SELECTED";}

$marge7="Not Selected";
if ($homer07=="checked") {$marge7="TICKED AND SELECTED";}

$marge8="Not Selected";
if ($homer08=="checked") {$marge8="TICKED AND SELECTED";}

?>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<tr valign="top">
<td>Your Full Name :</td>
</tr>

<tr valign="top">
<td><?php print $homer01; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Email Address :</td>
</tr>

<tr valign="top">
<td><?php print $homer02; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Contact Number :</td>
</tr>

<tr valign="top">
<td><?php print $homer03; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Full Address : (job location)</td>
</tr>

<tr valign="top">
<td><?php print $homer04; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior</td>
</tr>

<tr valign="top">
<td><?php print $marge5; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior</td>
</tr>

<tr valign="top">
<td><?php print $marge6; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Both</td>
</tr>

<tr valign="top">
<td><?php print $marge7; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Dont Know</td>
</tr>

<tr valign="top">
<td><?php print $marge8; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior Job :</td>
</tr>

<tr valign="top">
<td><?php print $homer09; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior Job :</td>
</tr>

<tr valign="top">
<td><?php print $homer10; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Description :</td>
</tr>

<tr valign="top">
<td><?php print $homer11; ?></td>
</tr>

</table>

<?php

$ewho="we*******@yourdomain.com";

$datesent=date("l dS of F Y h:i A");

$ip=$_SERVER['REMOTE_ADDR'];

$subject="FROM THE WEBSITE FORM";

$mailhead="From: $ewho \n";

$mailbody ="This email was sent via the website form" . "\n\n";
$mailbody .="DATE: " . "$datesent" . "\n\n";
$mailbody .="IP: " . "$ip" . "\n\n";
$mailbody .="Full Name: " . "$krusty_01" . "\n\n";
$mailbody .="Email Address: " . "$krusty_02" . "\n\n";
$mailbody .="Contact Number: " . "$krusty_03" . "\n\n";
$mailbody .="Full Address (job location) : " . "$krusty_04" . "\n\n";
$mailbody .="Interior {box): " . "$marge5" . "\n\n";
$mailbody .="Exterior {box): " . "$marge6" . "\n\n";
$mailbody .="Both {box): " . "$marge7" . "\n\n";
$mailbody .="Dont Know {box): " . "$marge8" . "\n\n";
$mailbody .="Interior Job: " . "$krusty_09" . "\n\n";
$mailbody .="Exterior Job: " . "$krusty_10" . "\n\n";
$mailbody .="Job Description: " . "$krusty_11" . "\n\n";

$body .=stripslashes($mailbody);

mail($ewho,$subject,$body,$mailhead);

?>

</body>
</html>
Nov 29 '06 #7
the form http://www.ebesign.co.nz/projects/ju...order_form.php
the thank you confirmation page
http://www.ebesign.co.nz/projects/ju...orm_submit.php
the email it sends me
http://www.ebesign.co.nz/projects/justfixit/email.jpg
liamo wrote:
um small problem.

the form emails fine but results in no values like it does not state
the name and rest in the email..

"This email was sent via the website form

DATE: Wednesday 29th of November 2006 01:22 PM

IP: 202.74.217.170

Full Name:

Email Address:

Contact Number:

Full Address (job location) :

Interior {box):

Exterior {box):

Both {box):

Dont Know {box):

Interior Job:

Exterior Job:

Job Description:
Krustov wrote:
<comp.lang.php>
<liamo>
<28 Nov 2006 06:09:43 -0800>
<11**********************@j72g2000cwa.googlegroups .com>
Ok, so I have little if any knowledge with the programming language php
- only having created small enquiry forms. Now I have a client that
needs a job order form with a little more function than having solely
contact details and a big enquiry text area.
>
The form I created in HTML is located at
http://www.ebesign.co.nz/projects/ju...rder_form.html
>
Ahhh what the hell i wrote the form for you as there isnt a lot on tv
tonight and because writing the full thing really annoys some people on
this newsgroup - so its your lucky day dude .

$ewho="we*******@yourdomain.com";

The email address on the 2nd page is the only thing you need to edit in
order to test the form / script .

<html>
<head>

<title>aform.php</title>

</head>

<body>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<form action="aform_submit.php" method="post">

<tr valign="top">
<td>Your Full Name :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_01" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Email Address :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_02" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Contact Number :</td>
</tr>

<tr valign="top">
<td><input type="text" name="krusty_03" size="65"></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Full Address : (job location)</td>
</tr>

<tr valign="top">
<td><textarea cols="50" rows="5" name="krusty_04"></textarea></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Type :</td>
</tr>

<tr valign="top">
<td>
<input type="checkbox" name="krusty_05" value="checked"Interior &nbsp;
<input type="checkbox" name="krusty_06" value="checked"Exterior &nbsp;
<input type="checkbox" name="krusty_07" value="checked"Both &nbsp;
<input type="checkbox" name="krusty_08" value="checked"Dont Know
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior Job :</td>
</tr>

<tr valign="top">
<td>
<select name="krusty_09">
<option value="Please Select ....." selected>Please Select .....
</option>
<option value="Leaking taps">Leaking taps</option>
<option value="Broken window catches">Broken window catches</option>
<option value="Jamming doors">Jamming doors</option>
<option value="Security stays">Security stays</option>
<option value="Door handles">Door handles</option>
<option value="Install door stops">Install door stops</option>
<option value="Interior house painting">Interior house painting</option>
<option value="Gib board repairs">Gib board repairs</option>
<option value="Gib board repairs">Gib board repairs</option>
<option value="Install curtain rails">Install curtain rails</option>
<option value="Tiling">Tiling</option>
<option value="Ranch slider bearings">Ranch slider bearings</option>
<option value="Replace hinges doors/cabinets">Replace hinges
doors/cabinets</option>
<option value="Wardrobe rails">Wardrobe rails</option>
<option value="Heated towel rail bracket replacement">Heated towel rail
bracket replacement</option>
<option value="Hand rail, toilet roll holder installation">Hand rail,
toilet roll holder installation</option>
<option value="Internal door installation">Internal door installation
</option>
<option value="Replace bathroom vanity">Replace bathroom vanity</option>
<option value="Remove broken light bulbs from sockets">Remove broken
light bulbs from sockets</option>
<option value="Shower door seals">Shower door seals</option>
<option value="Shower head replacement">Shower head replacement</option>
<option value="Dont Know">Dont Know</option>
<option value="None">None</option>
<option value="Other">Other</option>
</select>
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior Job :</td>
</tr>

<tr valign="top">
<td>
<select name="krusty_10">
<option value="Please Select ....." selected>Please Select .....
</option>
<option value="Fencing">Fencing</option>
<option value="Retaining">Retaining</option>
<option value="Gardening">Gardening</option>
<option value="Clean out gutters & repairs">Clean out gutters & repairs
</option>
<option value="Exterior house painting">Exterior house painting</option>
<option value="Letterbox replacement">Letterbox replacement</option>
<option value="Replace washing lines">Replace washing lines</option>
<option value="Waterblasting path/decks">Waterblasting path/decks
</option>
<option value="Repair decking & steps">Repair decking & steps</option>
<option value="Lawn mowing">Lawn mowing</option>
<option value="Rubbish removal">Rubbish removal</option>
<option value="Weather board repairs">Weather board repairs</option>
<option value="Weed Spraying">Weed Spraying</option>
<option value="Dont Know">Dont Know</option>
<option value="None">None</option>
<option value="Other">Other</option>
</select>
</td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Description :</td>
</tr>

<tr valign="top">
<td><textarea cols="50" rows="9" name="krusty_11"></textarea></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td><input type="submit" name="Submit" value="SUBMIT"></td>
</tr>

</form>

</table>

</body>
</html>


<html>
<head>

<title>aform_submit.php</title>

</head>

<body>

<?php
$homer01=$_POST['krusty_01'];
$homer02=$_POST['krusty_02'];
$homer03=$_POST['krusty_03'];
$homer04=$_POST['krusty_04'];
$homer05=$_POST['krusty_05'];
$homer06=$_POST['krusty_06'];
$homer07=$_POST['krusty_07'];
$homer08=$_POST['krusty_08'];
$homer09=$_POST['krusty_09'];
$homer10=$_POST['krusty_10'];
$homer11=$_POST['krusty_11'];
?>

<?php

$marge5="Not Selected";
if ($homer05=="checked") {$marge5="TICKED AND SELECTED";}

$marge6="Not Selected";
if ($homer06=="checked") {$marge6="TICKED AND SELECTED";}

$marge7="Not Selected";
if ($homer07=="checked") {$marge7="TICKED AND SELECTED";}

$marge8="Not Selected";
if ($homer08=="checked") {$marge8="TICKED AND SELECTED";}

?>

<table border="0" cellspacing="0" cellpadding="0" align="center">

<tr valign="top">
<td>Your Full Name :</td>
</tr>

<tr valign="top">
<td><?php print $homer01; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Email Address :</td>
</tr>

<tr valign="top">
<td><?php print $homer02; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Contact Number :</td>
</tr>

<tr valign="top">
<td><?php print $homer03; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Your Full Address : (job location)</td>
</tr>

<tr valign="top">
<td><?php print $homer04; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior</td>
</tr>

<tr valign="top">
<td><?php print $marge5; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior</td>
</tr>

<tr valign="top">
<td><?php print $marge6; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Both</td>
</tr>

<tr valign="top">
<td><?php print $marge7; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Dont Know</td>
</tr>

<tr valign="top">
<td><?php print $marge8; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Interior Job :</td>
</tr>

<tr valign="top">
<td><?php print $homer09; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Exterior Job :</td>
</tr>

<tr valign="top">
<td><?php print $homer10; ?></td>
</tr>

<tr><td><br></td></tr>

<tr valign="top">
<td>Job Description :</td>
</tr>

<tr valign="top">
<td><?php print $homer11; ?></td>
</tr>

</table>

<?php

$ewho="we*******@yourdomain.com";

$datesent=date("l dS of F Y h:i A");

$ip=$_SERVER['REMOTE_ADDR'];

$subject="FROM THE WEBSITE FORM";

$mailhead="From: $ewho \n";

$mailbody ="This email was sent via the website form" . "\n\n";
$mailbody .="DATE: " . "$datesent" . "\n\n";
$mailbody .="IP: " . "$ip" . "\n\n";
$mailbody .="Full Name: " . "$krusty_01" . "\n\n";
$mailbody .="Email Address: " . "$krusty_02" . "\n\n";
$mailbody .="Contact Number: " . "$krusty_03" . "\n\n";
$mailbody .="Full Address (job location) : " . "$krusty_04" . "\n\n";
$mailbody .="Interior {box): " . "$marge5" . "\n\n";
$mailbody .="Exterior {box): " . "$marge6" . "\n\n";
$mailbody .="Both {box): " . "$marge7" . "\n\n";
$mailbody .="Dont Know {box): " . "$marge8" . "\n\n";
$mailbody .="Interior Job: " . "$krusty_09" . "\n\n";
$mailbody .="Exterior Job: " . "$krusty_10" . "\n\n";
$mailbody .="Job Description: " . "$krusty_11" . "\n\n";

$body .=stripslashes($mailbody);

mail($ewho,$subject,$body,$mailhead);

?>

</body>
</html>
Nov 29 '06 #8
Message-ID: <11**********************@80g2000cwy.googlegroups. comfrom
liamo contained the following:
>um small problem.

the form emails fine but results in no values like it does not state
the name and rest in the email..
My guess is that krusty has register globals on (which is why he didn't
spot his mistake) and you don't.
$mailbody .="Full Name: " . "$krusty_01" . "\n\n";
This, and the others should be the $homer variables.

My script is better. :-P

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Nov 29 '06 #9
<comp.lang.php>
<Geoff Berrow>
<Wed, 29 Nov 2006 01:09:02 +0000>
<t1********************************@4ax.com>
$mailbody .="Full Name: " . "$krusty_01" . "\n\n";

This, and the others should be the $homer variables.
Opps - guess i really should check stuff first :-)

$homer_** should be used instead of $krusty_**

$mailbody ="This email was sent via the website form" . "\n\n";
$mailbody .="DATE: " . "$datesent" . "\n\n";
$mailbody .="IP: " . "$ip" . "\n\n";
$mailbody .="Full Name: " . "$homer_01" . "\n\n";
$mailbody .="Email Address: " . "$homer_02" . "\n\n";
$mailbody .="Contact Number: " . "$homer_03" . "\n\n";
$mailbody .="Full Address (job location) : " . "$homer_04" . "\n\n";
$mailbody .="Interior {box): " . "$marge5" . "\n\n";
$mailbody .="Exterior {box): " . "$marge6" . "\n\n";
$mailbody .="Both {box): " . "$marge7" . "\n\n";
$mailbody .="Dont Know {box): " . "$marge8" . "\n\n";
$mailbody .="Interior Job: " . "$homer_09" . "\n\n";
$mailbody .="Exterior Job: " . "$homer_10" . "\n\n";
$mailbody .="Job Description: " . "$homer_11" . "\n\n";

Although still unchecked the above should work .
--
www.phpwhois.co.uk
Nov 29 '06 #10
ok i made changes but the problem was the $homer_01 its just $homer01
: ) all better grazi again vunderbar cheers
liam

Krustov wrote:
<comp.lang.php>
<Geoff Berrow>
<Wed, 29 Nov 2006 01:09:02 +0000>
<t1********************************@4ax.com>
$mailbody .="Full Name: " . "$krusty_01" . "\n\n";
This, and the others should be the $homer variables.

Opps - guess i really should check stuff first :-)

$homer_** should be used instead of $krusty_**

$mailbody ="This email was sent via the website form" . "\n\n";
$mailbody .="DATE: " . "$datesent" . "\n\n";
$mailbody .="IP: " . "$ip" . "\n\n";
$mailbody .="Full Name: " . "$homer_01" . "\n\n";
$mailbody .="Email Address: " . "$homer_02" . "\n\n";
$mailbody .="Contact Number: " . "$homer_03" . "\n\n";
$mailbody .="Full Address (job location) : " . "$homer_04" . "\n\n";
$mailbody .="Interior {box): " . "$marge5" . "\n\n";
$mailbody .="Exterior {box): " . "$marge6" . "\n\n";
$mailbody .="Both {box): " . "$marge7" . "\n\n";
$mailbody .="Dont Know {box): " . "$marge8" . "\n\n";
$mailbody .="Interior Job: " . "$homer_09" . "\n\n";
$mailbody .="Exterior Job: " . "$homer_10" . "\n\n";
$mailbody .="Job Description: " . "$homer_11" . "\n\n";

Although still unchecked the above should work .
--
www.phpwhois.co.uk
Nov 29 '06 #11
<comp.lang.php>
<liamo>
<28 Nov 2006 18:39:49 -0800>
<11**********************@80g2000cwy.googlegroups. com>
ok i made changes but the problem was the $homer_01 its just $homer01
: ) all better grazi again vunderbar cheers
liam
LOL so it was .

There is a plus side to all these errors of course , Look at the skills
you had a couple of hours ago and look at the skills you have now .

- you have learnt a bit more about forms

- you have learn some tracking / debugging stuff
--
www.phpwhois.co.uk
Nov 29 '06 #12
i know and it is actually quite easy to look at and see how it all
works
i have replaced all the krusty values with my own so i recognise them
to validate with javascript.
still working :)

Krustov wrote:
<comp.lang.php>
<liamo>
<28 Nov 2006 18:39:49 -0800>
<11**********************@80g2000cwy.googlegroups. com>
ok i made changes but the problem was the $homer_01 its just $homer01
: ) all better grazi again vunderbar cheers
liam

LOL so it was .

There is a plus side to all these errors of course , Look at the skills
you had a couple of hours ago and look at the skills you have now .

- you have learnt a bit more about forms

- you have learn some tracking / debugging stuff
--
www.phpwhois.co.uk
Nov 29 '06 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Randell D. | last post by:
HELP! I am determined to stick with this... I'm getting there... for those who haven't read my earlier posts, I'm createing what should be a simple function that I can call to check that...
4
by: Tonya | last post by:
Hi, Does anyone have any example of how i can manage forms in my application?? I want to be able to reference my form instances that are currently open from other forms. why cant i open...
10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
0
by: Pat Patterson | last post by:
I'm having serious issues with a page I'm developing. I just need some simple help, and was hoping someone might be able to help me out in here. I have a form, that consists of 3 pages of...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
4
by: Dave Guenthner | last post by:
I have a csharp form1.cs created with VS. I have added a menu bar with one option called help. I then created another form in VS called help.cs. How can I launch the help form from the main form...
10
by: Kathy Burke | last post by:
HI. in asp.net app, I have an xmlDocument that I transform to the client html. Using xsl I create a few textboxes to capture user input. Each of these are related to <data> elements in the xmlDoc....
13
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that...
9
by: mohit.akl | last post by:
Hey guys & gals I am havng trouble modifying the control box. I want to make the maximise button invisible and have minimisise button instead of it. Like this _ X (not like _ o X ) How...
9
by: MikeB | last post by:
Hi, I'd appreciate some help, please. I'm writing a VS2005 VB project for school and one of the requirements is that every screen should have a "Help" button. I could do it by writing a clumsy...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.