Sign in to follow this  
Followers 0
Djipp

Problem again,website prob

3 posts in this topic

You're trying to access the $_POST array before it is set (because nothing has been POSTed yet, you want to do a form, then post that form to itself and then access the $_POST data)

do something like

if isset($_POST['email'])
{
// do stuff with the post data here.
// you might want to check isset($_POST['xxx']) && !empty($_POST['xxx']) for each variable just to make sure.
}

In PHP there tends to be a billion ways to do everything.

See the manual:

isset

array_key_exists

empty

Also you don't need to post a screenshot of code, just use [code][/code] tags (or [php][/php])

0

Share this post


Link to post
Share on other sites

It's weird because it's working when im running it on my windows 7 machine

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0