Skip to content

Instantly share code, notes, and snippets.

@halldorel
Created November 23, 2013 19:47
Show Gist options
  • Save halldorel/7619063 to your computer and use it in GitHub Desktop.
Save halldorel/7619063 to your computer and use it in GitHub Desktop.
<form action="phpskra.php" method="POST">
<input type="text" name="titill" />
<textarea name="uppskrift">
</textarea>
<input type="submit" />
</form>
Þetta myndi þá skila POST requesti á phpskra.php þegar ýtt er á Submit takkann
og breyturnar myndu vera aðgengilegar í PHP-inu í $_POST['titill'] og $_POST['uppskrift']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment