[eluser]oldnews[/eluser]
Precisely! Then what coding mistake is causing the error, when, in the companion views/myform.php, these variables are set within the first 3 data fields?
Code:
<html>
<head>
<title>Entry Form</title>
<LINK REL=StyleSheet href="./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 completely...<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>
et cetera...
method == function or method != function?