Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as text by Erzzo ( 18 years ago )
<html lang="sk">
<head>
 <TITLE>.:Erzo web:.</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <meta http-equiv="content-language" content="sk">
<link rel="stylesheet" type="text/css" href="style.css">
</head>


    <body>
      <FORM action="" method="POST">
       Meno:<br>
       <input type="text" name="meno_p" ><br>
       Koment&Atilde;&iexcl;r:<br>
      <textarea name="komentar"></textarea>
      <input type="button" value="SEND" name="submit">
      </FORM>
</body>
</html>
<?php
mysql_connect("localhost","root","pehmerik");
mysql_select_db("skuska");
mysql_query("INSERT INTO komentare (meno,komentar) VALUES('$_POST[meno_p]','$_POST[komentar]')")
?>

 

Revise this Paste

Your Name: Code Language: