|
Posted by Shelly on 07/27/06 01:13
<ire.kevin@gmail.com> wrote in message
news:1153960578.889516.169600@i3g2000cwc.googlegroups.com...
> Here's where I'm at. I managed to write this much.
>
> [code]
> $count = substr_count($message, 'href');
>
> if ($count > 2)
> die ();
> [/code]
>
> Problem is... the die kills the rest of the php on the page, I also had
> to insert it in after the 'message' has been given the value $message,
> so the content is already shot to the database before it dies....
>
> I need to know how to assign the text inside my text area named
> 'message' can be assigned as a variable before being sent to the db,
> and also preventing the info from being sent to the db with out killing
> all php on the page...
$message = $_POST['then name of the message field'] ????
Shelly
Navigation:
- Next in forum: Re: Incoming data into array?
- Prev in forum: Re: Shoutbox , ridding SPAM, adding features, Syntax, explanations of my shoutbox code, help on additional code
- Thread view: Re: Shoutbox , ridding SPAM, adding features, Syntax, explanations of my shoutbox code, help on additional code
[Reply to this message]
|