Search found 9 matches
- Wed Feb 02, 2011 2:15 am
- Forum: PHP - Code
- Topic: need help...
- Replies: 2
- Views: 34
Re: need help...
Why are you putting a table inside an anchor tag? That's bad HTML.
- Tue Jan 25, 2011 3:04 pm
- Forum: PHP - Code
- Topic: $_POST not working.
- Replies: 12
- Views: 87
Re: $_POST not working.
Nevermind. I figured it out. I had an invalid value for the action attribute of my form element.
- Tue Jan 25, 2011 3:01 pm
- Forum: PHP - Code
- Topic: $_POST not working.
- Replies: 12
- Views: 87
Re: $_POST not working.
Okay, so I took out the if statement from that block of code and regardless of whether anything has been posted it or not, I get what appears to be an empty array. Correct me if I am wrong. array(0) { } I have had this form work before and all I think I changed since the last time it worked was the ...
- Mon Jan 24, 2011 4:48 pm
- Forum: PHP - Code
- Topic: $_POST not working.
- Replies: 12
- Views: 87
Re: $_POST not working.
I am simply getting no output. Nothing changes after submitting the form to itself. I added the two lines you recommended but I am seeing no difference.
- Mon Jan 24, 2011 4:37 pm
- Forum: PHP - Code
- Topic: $_POST not working.
- Replies: 12
- Views: 87
Re: $_POST not working.
Those are both fatal errors. How are you getting them both? I don't get those errors now, but I would get them on the same server due to typos in previous development. The odd indentation you see in my HTML is caused by including other PHP files (for easy layout changes). Regardless, that's probabl...
- Mon Jan 24, 2011 4:24 pm
- Forum: PHP - Code
- Topic: $_POST not working.
- Replies: 12
- Views: 87
Re: $_POST not working.
I receive errors for invalid syntax and using require_once() to include files that do not exist on the server. I've never had this problem of displaying errors.
- Mon Jan 24, 2011 4:23 pm
- Forum: PHP - Code
- Topic: $_POST not working.
- Replies: 12
- Views: 87
Re: $_POST not working.
And when I tried that last block of code you posted, I got no output whatsoever. 
- Mon Jan 24, 2011 4:16 pm
- Forum: PHP - Code
- Topic: $_POST not working.
- Replies: 12
- Views: 87
Re: $_POST not working.
I can't even force an error. Like you said, I was trying to get an error for an uninitialized variable. Due to security reasons, I'll have to obscure the code a bit (just names and fields but the functionality should be the same). I deleted a lot of stuff so I'm not sure if it's still valid XHTML bu...
- Mon Jan 24, 2011 3:59 pm
- Forum: PHP - Code
- Topic: $_POST not working.
- Replies: 12
- Views: 87
$_POST not working.
I am semi-new to PHP and I found myself having trouble during some form validation. For some reason $_POST is not working. I tried echoing some values from it. Nothing. Not even an error when there is nothing posted. I know echo is working because I can print simple strings. However, say for example...