Jump to content

[SOLVED] Help Getting input from page? --forms?? idk!


physaux

Recommended Posts

Hey, i am trying to accomplish a relatively simple task, but it's getting hard, and google isn't helping me much...

 

Here my code so far, (it is generic that i copied from a google result):

<?php
echo '<form action="" method="post">
    		Password:  <input type="password" name="personal[name]" /><br />';
		if ($_POST) {
			echo "LALALA";
			echo htmlspecialchars(print_r($_POST, true));
			//myfunction(value)
		}
?>

 

can you guys help me out? What i want to happen is someone enters text into the field, then i want that value to be used in a function that i already have. I know it must be simple but im so lost thanks for ur help!

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.