Jump to content
php.lv forumi

Funkciju problēma


intero

Recommended Posts

<?
function test()	{
				echo $a;
				echo $b;
				?>

				<FORM METHOD=POST ACTION="<?$php_self;?>" >
				<table><tr>
				<td>Title </td> <td><INPUT TYPE=text NAME=a></td>
				</tr>
				<tr>
				<td>Text </td> <td><TEXTAREA NAME=b ROWS=6 COLS=30></TEXTAREA></td>
				</tr>
				<tr>
				<td colspan=2 align=right><INPUT name=list value=Insert TYPE=submit></td>
				</tr>
				</table>
				</FORM>
				<?

				}

				test();
				?>

 

Probleema ir tada, ka shii forma nastraadaa ja ir ieklauta funkcijaa :-/

kaadeel taada shaize ???

Link to comment
Share on other sites

×
×
  • Create New...