webdev.ramyash@gmail.com
Web Development: Convert the first character of "welcome" to uppercase.
Unlock the World of Web & Tech – Learn, Innovate, and Excel!
Home
About
Developer Tools
Contact
🏠 Home
›
Convert the first character of "welcome" to uppercase.
The ucfirst () function converts the first character of a string to uppercase.
<?php
$a="welcome";
echo ucfirst($a);
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
🔍
Popular Posts
Create custom widget area in wordpress.
If you are familiar with Wordpress, then you can add easily widget area into the dashboard. 1. Go with an activated WordPress theme, open...
Insert data through ajax into MySql database.
1. Create form.php and copy below code into file. <script type="text/javascript"> $(document).ready(function(){ $(...
Add woocommerce custom product tabs.
Add in your functions.php add_filter( 'woocommerce_product_tabs', 'woocommerce_custom_product_tabs' ); function woocomm...
Check product if already exist in to cart using woocommerce.
Check product if already exist in to cart using woocommerce. add_action( 'woocommerce_add_to_cart_validation', 'check_produ...
Include file in PHP.
We can include a file using "include() " or "require()" function with file path as its parameter. Example: <...
Get post thumbnail by post id ("thumbnail,medium,large,full") in wordpress.
Get post thumbnail by post id ("thumbnail,medium,large,full"). <?php // without parameter -> Post Thumbnail (as set by t...
Create page templates in wordpress.
<?php /** * Template Name: PHP-AJAX-HTML * */ get_header(); ?> <div id="primary" class="content-area...
Thumbnail support custom post type wordpress.
Open a directory, and read its contents.
<?php $dir = "employe/"; //directory name if ($dr = opendir($dir)) { while (($file = readdir($dr))) { echo "Fi...
Send email using php.
To send email using PHP, you use the mail() function. Example: $subject="Test"; $message="Test msg..."; $...
Blog Archive
►
2019
(2)
►
March
(1)
►
February
(1)
►
2018
(10)
►
April
(1)
►
March
(3)
►
February
(1)
►
January
(5)
►
2017
(9)
►
December
(2)
►
November
(7)
▼
2015
(25)
►
November
(1)
►
October
(3)
▼
February
(1)
Convert the first character of "welcome" to upperc...
►
January
(20)
No comments:
Post a Comment