![]() |
Wysiwyg
Hello Everyone,
I'm trying to get text from the WYSIWYG and place it in a database field. I have got all the other information to store like username and userid but I cant get the message to store. Code:
$message = $vbulletin->input->clean_gpc('WYSIWYG_HTML', 'message', TYPE_STR); Thanks, Paul. |
You are using the clean_gpc() function wrong.
mixed &clean_gpc (array $source, string $varname, [integer $vartype = TYPE_NOCLEAN]) |
Still not working, and I dont know what i'm doing wrong. All the other information goes into the DB but not the contents of the message box.
Code:
if ($_REQUEST['do'] == 'submitnewticket'){ |
PHP Code:
PHP Code:
|
Nope still not storing in the database. Starting to drive me insane lol.
Thanks, Paul. |
Check that the variable actually has something in it...
|
Quote:
Thanks, Paul. |
All times are GMT. The time now is 12:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|