bamfon Posted January 14, 2011 Share Posted January 14, 2011 i want it so that the 1st letter in this text box when it Submited gets saved to the db as 1st letter <input name="title" type="text" id="title" size="50" /> Link to comment https://forums.phpfreaks.com/topic/224413-1st-letter-in-this-text-box/ Share on other sites More sharing options...
revraz Posted January 14, 2011 Share Posted January 14, 2011 http://www.php.net/manual/en/function.substr.php Link to comment https://forums.phpfreaks.com/topic/224413-1st-letter-in-this-text-box/#findComment-1159294 Share on other sites More sharing options...
dragon_sa Posted January 14, 2011 Share Posted January 14, 2011 $title=$_POST['title']; $firstletter=$title[0]; echo $firstletter; Link to comment https://forums.phpfreaks.com/topic/224413-1st-letter-in-this-text-box/#findComment-1159304 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.