php include inside a <form> tag.. how?

Kez

New Member
I have this loop - that creates several fields in a form:\[code\]while ($correctRow = mysql_fetch_array($result, MYSQL_NUM)) { print " <input type='textbox' name='date_$i' value='http://stackoverflow.com/questions/15721103/{$correctRow[1]}' size='10'/> <php Include('SelectboxSC.php'); ?> <input type='textbox' name='text_$i' value='http://stackoverflow.com/questions/15721103/{$correctRow[3]}' size='30' /> <input type='textbox' name='con_name_$i' value='http://stackoverflow.com/questions/15721103/{$correctRow[4]}' size='12' maxlenth='12' /> <input type='textbox' name='con_phone_$i' value='http://stackoverflow.com/questions/15721103/{$correctRow[5]}' size='10' maxlenth='10'/> <br> "; $i++; } \[/code\]The \[code\]{$correctRow[2]}\[/code\] contains a number between 1-4, which suppose to be the selected option in the select box. For a better coding I'm trying to use PHP includes.Here's my include file:https://dl.dropbox.com/u/13596235/SelectboxSC.phpBut the file isn't included and treated as a "trash" tagAny suggestions?EDIT : here is the part of the code:https://dl.dropbox.com/u/13596235/code.php
 
Back
Top