3 like 0 dislike

Write a PHP script to print the next character of a specific character.

Sample string : a 
Expected Output : b
Sample string : xyz 
Expected Output : yza 

[Exercise] Essay (Open question) - asked in 2016-2 CSIEB0270 - Internet System Design and Practice by (18k points)
ID: 24997 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00

reshown by | 748 views
0 0
<?php
$mycounter = 1;
$team = array('a', 'b', 'c',  'd', 'e', 'f' ,'g', 'h', 'i','j', 'k', 'l', 'm', 'n', 'o', 'p', 'k', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z');
echo $team[3];
//echo $team[3]
?>

23 Answers

0 like 0 dislike
Hidden content!
** * * * * * ** ** ** * ****** * ***
answered by (-61 points)
0 like 0 dislike
Hidden content!
* * * * **
* *
* * **
*
* * * ** * * ** ** **
* *
* * * *
* * * * * **** **
* * ** ******** ** *

* * * * ** ****
* * ***** ** *
* * * * * * * * * * *
* * * *
* * * * * * ** * * **** * ***
* * *** *** *
* * ** * * ** ** ** ** * * *
* * * * ** * *****
*
* * * * ** *
* * * * * * *
*
* * * * **
*
*** * *


**
answered by (30 points)
0 like 0 dislike
Hidden content!
* * * * * *

* *
*
* * * **** * **** ** * *
* *
* * * *
* * *
* * ** * ** * *
* * * * *
* * * * * ** *
* * *** ** * * *
* * * * * * * * ** ** ***
* * * *
* * * * * * * *** * *
* * * * ** *
* * * * ****** ** **** * * * * *
* * * ** * *
* * * * *
* * * ** * * * *
* * * * *
*
* * * * * * * *** *

* *** *

*
***
answered by (30 points)
0 like 0 dislike
Hidden content!
*** ** * ** * ***** * * * * ** * ** * * ** ** *
answered by (-32 points)
0 like 0 dislike
Hidden content!
** ** * ******* **** * ** * *** * * * **
answered by (-10 points)
0 like 0 dislike
Hidden content!
* * * *** **** ** ** **** * * * * * * *
answered by (-10 points)
0 like 0 dislike
Hidden content!
final4.html:


* * * *
**

<form *** * *** * * **** ** *** *

Input: <input type=“text” *** ** * * * * ***

<input * ******* ***
** * ******


** ** ** *
** * *



 



final4.php:


* * * ***
** ** * *



<?php
* *** ** * *
* * *** *** *** *
* * ** * * * * *** ** * * * *** * **
** * *** * ** * * ** * * ** * ***** * * * * **
** * ** *** * ** ***
** * **** ** ** * * *** * *
** * * ****** * ** * * ** * * * **** *** ** * *
* **** ******** ** **

}

echo * * * **** * *

?>
* * * * * *
* *
answered by (31.4k points)
0 like 0 dislike
Hidden content!
* * ** * ** * ** * * * ** * * * *** * * ** *
answered by (-144 points)
0 like 0 dislike
Hidden content!
<?php
**** *** * * * ** * **** * * * * * * * * **** *** * * * * ** ***** * ** ** ** * *

            {
* * ** ** ** * *** ** ***** * *** ** * * **** * ******* * * ** * * ** * * * ** ** ****  $_GET['text'];
*** * * * * * * * * * * * ** * * ** * ** ** *** * ****** * *** * * ** *** * ($string);
*** * * ****** * * *** * * * * * ***** * ** ** * * * ** * ** ** * *** * * **** * *** *** * * *********** *
** * * ** * * * *** * * * * ** *** ***** ** * * * * * * * * **** * ** *** ($i=0;$i<$len;$i++)
* * *** * * * * ** ** ****** * ** ** ** ** ** * * * ** * * * * **
* * * * * * *** ** * * ******** *** * * * ** * * * ****** *** ****** * * ** * * ** * ** * * ** * * ** = $string[$i];
* ** ** * *** * ** *** * * * *** ***** **** ********* ** ** * **** * * **** ** **** * ** * ** * * * **** ** * *** = ++$cha;
*** *** ** * * ***** * * *** * * *** * * * ***** * * *** * * * ** ** **** *** ****** **** *** (strlen($next_cha) > 1)   
* * * ** ** * *** *** * * ** * * ** * * *** * * *** *** * *** ** * * * * *** * * * * * * ** * *** ** * *** * *  
*** ** ** * * * * ** * ** * * * **** * *** * ** * * ** *** *** * ** ** *** ** * * *** * * *** * *** **** ******* = $next_cha[0];  
* ** ** * ***** *** ** * * ** ** ** * ** * * * * * *** ** * ** * ** * * ** *** ** * * ** ** ** ***** ** **  
**** *** * **** * * *** ** ** ** * * * *** ** * *** *** ** * * ** ** *** * * ** ***** ** $next_cha."\n";
* * *** ** **** ** * * * * **** ** * * ** ** *** ***** * * * ** ** *******

            }     

        ?>
answered by (-168 points)
0 like 0 dislike
Hidden content!
* ***** ** ** * * * * ** * *** * * * *
answered by (-14 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.134.210
©2016-2022

Related questions

1 like 0 dislike
14 answers
[Exercise] Essay (Open question) - asked Jun 15, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24998 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00
| 564 views
2 like 0 dislike
11 answers
[Exercise] Essay (Open question) - asked Jun 15, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24996 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00
| 521 views
3 like 0 dislike
20 answers
[Exercise] Essay (Open question) - asked Jun 15, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24995 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00
| 571 views
3 like 0 dislike
23 answers
[Exercise] Essay (Open question) - asked Jun 15, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24994 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00
| 700 views
3 like 0 dislike
20 answers
[Exercise] Essay (Open question) - asked May 18, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24647 - Available when: 2017-05-18 09:30:00 - Due to: 2017-05-18 12:00:00
| 628 views
13,769 questions
207,306 answers
186,853 comments
5,422 users