76 836
Assignments Done
Successfully Done
In June 2019

Answer to Question #6793 in AJAX | JavaScript | HTML | PHP for Lucy

Question #6793
Write PHP code that reads a string and prints an inverse string.
Expert's answer
Here is the code (file invert.php):

$str = $_REQUEST[string];
$str = strrev($str);

and here is the form that calls this script:

<form action=invert.php>
& lt;input type=text name="string" size=30 value="Input your string">

<input type=submit value="INVERT">

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions