j/w wondering about the english part because in my Latin class today we were talking about how common it is for people to use inccorect english, which everyone does, but anyways...
Try removing that if (!empty($_POST['shout_message'])) stuff, because if already ahve an if statement to chek if they submitted and to check if the message is over 6 chars long...
Shoutbox @ vigge.net not working
Moderator: General Moderators
i wrote that in a hurry, you to?Illusionist wrote:j/w wondering about the english part because in my Latin class today we were talking about how common it is for people to use inccorect english, which everyone does, but anyways...
Try removing that if (!empty($_POST['shout_message'])) stuff, because if already ahve an if statement to chek if they submitted and to check if the message is over 6 chars long...
nope, still not working, and i had that if statement there for a reason;
i didn't want to output "Your shout must not contain less than 6 characters!" when users even hasn't tried to shout
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
well, its not just IE, i couldn't get it to work in firefox either. LOL, ya i guess i did write that a littel fast! And what i meant was remove the if !empty statement, because you have have an if statement setup to check wheter they submitted the post, by using isset($_POST['submit']) and checkthig that there is something in the message by checking to see if the length is over 6 chars long. So you can remove that first IF statement (empty one) and put the one where it checks if user is still logged in in the one where it checks if submit and message. If that made any sense!