Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
php x 13
Member Avatar for nikez

Hi guys....newbie on the forums here :) I have developed a php form processor for a project i am working on. I am trying to validate the email address, however i want to add 1 more check the the default script. At the moment i have the following: [CODE]function if_email($staff) …

Member Avatar for nikez
0
178
Member Avatar for nikez

The form (form.htm) posts a value from a text box (id='first_name') into a script (test.php) that checks the data entered. The script takes an array of required fields from a config file (config.php) and uses these to validate the data that comes from form.htm. If the required fields ($required) are …

Member Avatar for nikez
0
190
Member Avatar for nikez

Hey, Does anyone know how to pass a php variable into a form field? I want to reproduce what the user typed into a text box in another text box. Is this even possible? Thanks, JameZ ;)

Member Avatar for fpepito
0
513
Member Avatar for nikez

Hi guys, I have been looking at various form processing scripts, bascially to gain some understanding of how they work. I have managed to work through one section apart from one bit. I keep seeing the following: [CODE]$_POST[/CODE] I was just wondering what this was. I am using Dreamweaver MX …

Member Avatar for ReDuX
0
381
Member Avatar for nikez

Have a look at the following code. It is the only thing in the file...the following variables are defined outside the php file: [list] [*]$required [*]$first_name [/list] [CODE]require_once("config.php"); if ($required) { $require = explode(",",$required); for($n=0; $n<count($require); $n++); { $field = $require[$n]; print $first_name; print $_POST[$first_name]; } }[/CODE] When post data …

Member Avatar for nikez
0
155