简体   繁体   中英

Joomla GET/POST variable as string and whitespace

How do I retrieve joomla posted variable to not be trimmed on white space.

posted variable (string) 'Test Variable'

$jinput->get('MyVariable'); 

returns

'TestVariable'

but I need

'Test Variable'

我之间找到答案$jinput->getString();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM