Re: [PHP-WIN] If Question!

2008-05-21 Thread Michael Southworth
I believe the same idea Matt posted is true for this line: if ((!$_POST['fname']) || (!$_POST['lname']) || (!$_POST['company']) || (!$_POST['title']) || (!$_POST['degree']) || (!$_POST[ 'school'])) I am out of reach of a php processor, but I believe if a form submits these, without populati

Re: [PHP-WIN] If Question!

2008-05-21 Thread James Crow
Matt, Since I am using a plain text mail reader I do not see any section highlighted in red. I will however comment on the section I think you are referring to. :) This section: if (isset($_GET['try'])) May not work correctly. If the request was something like http://127.0.0.1/test.php?try=

[PHP-WIN] If Question!

2008-05-21 Thread Matthew Gonzales
Hello, So I am trying to create a web app using some if statement logic. Right now I am having some trouble getting a particular piece of the code to work. (Highlighted in red below) I am trying to produce the user profile and if the user does not have a profile a form will display asking the