Quote
Reload86 wrote:
I'm not sure if there's anything in the php which limits characters, but the database field shout_message is set to varchar 200 so that needs increasing before any changes to php will work
<?php
$result = dbquery("ALTER TABLE ".$db_prefix."shoutbox
CHANGE shout_message
shout_message
VARCHAR( 200 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL");
?>
Quote
smokeman wrote:
Hehe, it must be a mystery I think - how you can make it work without PHP-tags ???
If these tags ain't there - then just the code itself will be displayed - and nothing changes in the database.
Maybe it's too long time since I coded in v6. lol ;)
Anyway - it's nice you got it to work!
$shout_message = preg_replace("/^(.{[b]255[/b]}).*$/", "$1", $shout_message);
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions