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 | 262 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 (30k 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)
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.34.189
©2016-2021

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
| 206 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
| 180 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
| 172 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
| 224 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
| 225 views
11,521 questions
144,076 answers
148,736 comments
4,159 users