Jump to content

php form handling script


ident

Recommended Posts

I can't imagine finding a script out there tailored to those needs, better searching for tutorials and articles. I'd read up on how to retrieve inputs first and then how to send basic emails. Once you're fairly confident with each shouldn't be tricky combining the knowledge.

Hi, yes i decided to do that. but i can only get the value of one check box(can do textfields fine.

can any one see why only the top one works

 

<?php
if (isset($_POST['chkUpgrading'])) {
echo 'upgrading or re-installing=True';
} 

if (isset($_POST['chknotWorking'])) {
echo 'NotWorking=True';
} 
?>

 

HTML

 

				<td width="4%" valign="middle" align="right">
				<input id="objDidNotWork0" type="checkbox" name="chkUpgrading" value="REINSTALLING"></td>
				<td valign="middle">
			 I am upgrading or re-installing.
				</td>
			</tr>
			<tr>

				<td width="4%" valign="middle" align="right">
				<input id="objDidNotWork" type="checkbox" name="chknotWorking" value="DIDNOTWORK"></td>

 

i have the name right  :'(

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.