Sorry yeah i noticed the form element was using the wrong syntax on this page but I didn't copy/paste into the newsgroup. The results of the form for the 'url' field would be whatever the user decided to type into the particular field (ex. http://www.somewebsite.com) and the resulting page just checks to make sure the vars 'url' and 'name' are present before continuing. Really a simple thing but for some reason mine is not working correctly and being at work and not next to the server doesn't help me being able to test your solutions until later tonight. jas "Duane Lakoduk" <dlakoduk@mn.rr.com> wrote in message 000401c386bd$f68c5a00$6501a8c0@execuscript.com">news:000401c386bd$f68c5a00$6501a8c0@execuscript.com... > Jas > > > > > Here is my problem: > > > > Using both the Get and Post methods my variables are missing on the > > resulting page. Example of code is listed below: > > > > <form method="post" url="result.php" name="form"> > > <input type="text" name="name"><br> > > <input type="text" name="url"><br> > > <input type="submit" value="send"> > > > > <?php > > if ((!$name) || (!url)) { > > do nothing; > > } elseif (($name) || ($url)) { > > do rest of code; > > } else { > > broken; } > > > I see a couple problems here, > 1. When was the "url" attribute of the form element introduced? > That should be action="result.php" > > 2. As others indicated: you aren't giving any value to your text inputs. > What are you expecting to see, even if the < url="action.php" worked? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php