Anyone has solutions English grammar check Php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anyone has solutions English grammar check Php

How to find a given sentence by user if it’s simple,compound or complex .pls anyone tell me solution

20th Mar 2018, 4:08 PM
Sharnjit Singh
Sharnjit Singh - avatar
3 Answers
+ 3
Well, to send information from a form to a PHP document, then you would need to add the action attribute with a value of the name of the PHP file. In the PHP, you can access the form by using either the $_POST superglobal array or the $_GET superglobal array, depending on what you set your form to be. From there, you can add the name of the part of the form you want to access in square brackets, and the value will be returned from there. <?php echo $_POST["name"]; ?> I would recommend checking out the Sololearn lesson for it as they explain it much better than I did - https://www.sololearn.com/learn/PHP/1840/
20th Mar 2018, 4:49 PM
Faisal
Faisal - avatar
+ 2
If you're asking about getting user input from someone in PHP, then you cannot do so. PHP is used for gathering information from an HTML document (mostly forms), and has no way of collecting information from only itself.
20th Mar 2018, 4:32 PM
Faisal
Faisal - avatar
0
Yea I mean from form ...
20th Mar 2018, 4:34 PM
Sharnjit Singh
Sharnjit Singh - avatar