Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

post in php w3schools code example

Example: php post

<form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>">
  Name: <input type="text" name="fname">
  <input type="submit">
</form>
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
  // do logic
  $name = $_POST['fname'];
}
?>

Tags:

Php Example

Related

merge multiple data frames r code example get string from jsonserializedobject code example creating connection with mongoose code example input box on focus remove border code example django abstractuser permissions code example get button in code android code example command loop .bat code example how to count if the number of times a character appears in a string is the same python code example speed test by code example badge bootstrap mdb code example python random ranint to generate a string of numbers code example html video autoplay no sound code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy