![]() |
Force the first character in the thread title to be uppercase
I would like to be able to force the first character in the thread title to be uppercase?
|
// ### newthread.php ###
Find: PHP Code:
PHP Code:
|
That works perfect! I'll let you know if there are any issues or problems.
I used... Code:
$newpost['title']=strtoupper($_POST['subject']{0}).substr($_POST['subject'], 1); Thank you! :) |
d'oh~
Yes, newthread.php. Got that people?!? *shakes fist* *edits* You're welcome, hope it works fully. :) |
A better solution to this would be: ucfirst($your_string_here['something']);
Much easier. |
All times are GMT. The time now is 06:07 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:
|