|
Posted by ire.kevin on 07/27/06 00:36
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...
Navigation:
[Reply to this message]
|