webdev.ramyash@gmail.com
Web Development: Reverse word in a string using PHP.
Reverse word in a string using PHP
Home
About
Developer Tools
Contact
🏠 Home
›
Reverse word in a string using PHP.
The strrev() function reverses a string.
Example:
<?php
echo strrev("Welcome"); // outputs "emocleW"
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
🔍
Popular Posts
Include file in PHP.
We can include a file using "include() " or "require()" function with file path as its parameter. Example: <...
Insert data through ajax into MySql database.
1. Create form.php and copy below code into file. <script type="text/javascript"> $(document).ready(function(){ $(...
Open a directory, and read its contents.
<?php $dir = "employe/"; //directory name if ($dr = opendir($dir)) { while (($file = readdir($dr))) { echo "Fi...
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...
Confirmation Dialog Using JavaScript.
<a href="?del=<?php echo $row['id']; ?>" onclick="javascript:return confirm('Are you sure that you want...
What is WordPress Memory Limit Error?
WordPress is composed in PHP, which is a server-side programming dialect. Each site needs a WordPress facilitating server for it to work le...
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...
Create page templates in wordpress.
<?php /** * Template Name: PHP-AJAX-HTML * */ get_header(); ?> <div id="primary" class="content-area...
Get comma separated column values from database using php
<?php $con=mysql_connect('localhost','root',''); mysql_select_db('db',$con); $result = mysql_query...
Create a Table using PHP and MySQL.
<?php $con=mysqli_connect("localhost","user","password","test_db"); // Check connection ...
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)
▼
January
(20)
Border radius in css.
Fetch data randomly from database in PHP.
Count string length in PHP.
Reverse word in a string using PHP.
Confirmation Dialog Using JavaScript.
Find the number of rows in a table using MySQL.
Current date and time in php.
Open a directory, and read its contents.
Delete file from folder in PHP.
Send email using php.
Upload files in PHP.
Open file in php and read the file.
Open file in PHP.
Retrieve data from database in PHP.
Include file in PHP.
Insert data in database using PHP.
Create a Table using PHP and MySQL.
Create a database using PHP and MySQL.
Connect Mysql Database with PHP.
Use of "echo" in php
No comments:
Post a Comment