[eluser]oldnews[/eluser]
Mea culpa. I read the Email Function Reference wrong in the User Guide's Email Class page. Chalk it up to double vision from long hours of working to learn this framework. Now that THAT's fixed, each and every one of my variables is coming back undefined regardless of whether I omit the value fields, use just
<?php set_value('n'); ?> or
<?php echo set_value('n'); ?>, as below. I'll keep trying things until they work. The learning curve may not seem that steep, but I am working my ass off to get it right.
Code:
<html>
<head>
<title>Entry Form</title>
<LINK REL=StyleSheet href="http://uploadpixmaverik.com/style.css" type="text/css" media=screen>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="800">
<tr>
<td class="red">Now, fill out our entry form & submit it for a chance to win a trip to the 2009 Summer X Games in L.A.<br />
<br />
<?php echo validation_errors(); ?>
<?php echo form_open('form'); ?>
<center>
<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td align="right">your name:</td>
<td><input type="text" name="who" value="<?php echo set_value('who'); ?>" size="42" /></td>
<td align="right" colspan="2">primary phone:</td>
<td><input type="text" name="mainphone" value="<?php echo set_value('mainphone'); ?>" size="20" /></td>
</tr>
<tr>
<td align="right">email address:</td>
<td><input type="text" name="email" value="<?php echo set_value('email'); ?>" size="42" /></td>
<td align="right" colspan="2"><i>option add phone</i>:</td>
<td><input type="text" name="extraphone" value="<?php echo set_value('extraphone'); ?>" size="20" /></td>
</tr>
<tr>
<td align="right">mailing address:</td>
<td><input type="text" name="address" value="<?php echo set_value('address'); ?>" size="42" /></td>
<td align="right" colspan="2"><i>option alt phone</i>:</td>
<td><input type="text" name="altphone" value="<?php echo set_value('altphone'); ?>" size="20" /></td>
</tr>
<tr>
<td align="right">municipality:</td>
<td><input type="text" name="city" value="<?php echo set_value('city'); ?>" size="42" /></td>
<td> , <b>UTAH</b></td>
<td align="right">zip code:</td>
<td><input type="text" name="zip" value="<?php echo set_value('zip'); ?>" size="20" /></td>
</tr>
<tr>
<td align="right">describe photo:</td>
<td><input type="text" name="description" value="<?php echo set_value('description'); ?>" size="42" /></td>
<td align="right" colspan="2">photo location:</td>
<td><input type="text" name="location" value="<?php echo set_value('location'); ?>" size="20" /></td>
</tr>
<tr>
<td colspan="5"> </td>
</tr>
<tr>
<td align="center" colspan="4"><input type="checkbox" name="ageutresidency" value="TRUE"> I certify I am a legal resident of Utah <b>AND</b> I am at least 18 years of age</td>
<td align="center"><input type="submit" value="Submit" /></td>
</tr>
<tr>
<td colspan="5"> </td>
</tr>
<tr>
<td align="right">if this fails, copy:</td>
<td><input type="text" name="photofile" value="<?php echo $file_name;?>" size="42" /></td>
<td colspan="3">and click <a href="http://uploadpixmaverik.com/alternate_entry.html">here</a> to paste and finish your entry</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
</form>
</body>
</html>