<?php$content = $_POST ['link'];$mysqli = new mysqli ("localhost", "fedsar3e_link", "123456", "fedsar3e_link");$succeess = $mysqli-> query ("INSERT INTO `sef` ( `alias`, `link`) VALUES ( `$content`, `123`)" );echo $succeess;$mysqli-> close();?>
Standard input is empty
Standard output is empty
PHP Notice: Undefined index: link in /home/HdrKC9/prog.php on line 2 PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /home/HdrKC9/prog.php:3 Stack trace: #0 {main} thrown in /home/HdrKC9/prog.php on line 3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!