|
Posted by ire.kevin on 07/27/06 00:59
Ok this works :D next problem!!
[code]
if($submit)
{
putenv('TZ=America/New_York');
$time=date("F j, Y, g:i a", time());
$count = substr_count($message, 'href');
if ($count < 2) {
$result=MYSQL_QUERY("INSERT INTO shoutbox
(id,name,message,time)".
"VALUES ('NULL','$name', '$message','$time')");
}
}
[/code]
Maybe you can help me with my other big issue. When my user submits,
then say wants to reload the page to see if someone else wrote
anything, you get the pop-up box asking "do you want to submit this
data again?". Is there a way around that? This stems from my question
#3.
Navigation:
- Next in forum: Re: Shoutbox , ridding SPAM, adding features, Syntax, explanations of my shoutbox code, help on additional code
- Prev in forum: Re: HELP - sure is a piece of cake for you
- Thread view: Re: Shoutbox , ridding SPAM, adding features, Syntax, explanations of my shoutbox code, help on additional code
[Reply to this message]
|