PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Can someone please explain to me how isset works in a if statement?? I've read numerous posts on the Internet and read the PHP Manual and thought that I did grasp it but this piece of code does not want to play nice... (Please draw pictures because I'm going to pretend to be slow - oh I forgot don't have to pretend -)
The strange thing is that I have written a LOgin Page with similar code and that works and I have gone over the code several times but I can't find the problem and unfortunately there is no-one here, where I work, that can help me.
Can someone please help me?
Last edited by Janco on Tue May 27, 2008 7:54 am, edited 1 time in total.
Nothing is displayed. It is like the "POST" is not working!?
I've opened a separate terminal and ran tail -f /etc/httpd/logs/error_logs to see if I can't pick up something there but nothing.
I've even added a fwrite() to write the variables to file in the hope that there might be something wrong/not added in my HTML Code, been there before, but alas everything in the HTML Code is as it should be.
Is there another place that I can go look for error messages, maybe a php.log or something somewhere?
I've deleted the page and started from scratch and would you know it.....it works! The strange thing is that I used the exact same code which brings me to the conclusion that there was something wrong with the HTML Code - either an unclosed <table>, <tr> or <td> tag which caused the php section not be be read but if it wasn't that I'll never know.