View Single Post
Old 12-18-2008, 11:46 AM   #19 (permalink)
i_am_socket
Ex-lurker
 
i_am_socket's Avatar
 
Join Date: Apr 2008
Location: Jersey
Posts: 571

Skeeter - '05 Toyota Corolla LE
90 day: 35.55 mpg (US)
Thanks: 2
Thanked 8 Times in 6 Posts
Diving into form submission code is always fun. Could be done with:

PHP Code:
$table_strings = array("[table]".chr(10), "[tr]".chr(10), "[/tr]".chr(10), "[/td]".chr(10));
$table_replace = array("[table]""[tr]""[/tr]""[/td]");
    
$submit_text str_replace($table_strings$table_replace$submit_text); 
or similar before the database submission, probably inside whatever function is used to clean up the text.
__________________
  Reply With Quote