3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $con = mysqli_connect("mysql8.000webhost.com" , "a6088828_fa" , "fatma1234" , "a6088828_fa"); $Fname = $_POST["Fname"]; $Lname = $_POST["Lname"]; $Address = $_POST["Address"]; $Mobile = $_POST["Mobile"]; $Mail = $_POST["Mail"]; $Username = $_POST["Username"]; $Password = $_POST["Password"]; $insertquery = mysqli_prepare($con , "INSERT INTO contacts (Fname , Lname , Address , Mobile , Mail , Username , Password) VALUES (?,?,?,?,?,?,?)"); mysqli_stmt_bind_param($insertquery , "sssssss" , $Lname , $LNAME , $Address , $Mobile , $Mail , $Username , $Password); mysqli_stmt_execute($insertquery); mysqli_stmt_close($insertquery); mysqli_close($con); ?>
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /in/jl6PN:2 Stack trace: #0 {main} thrown in /in/jl6PN on line 2
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function mysqli_connect() in /in/jl6PN on line 2
Process exited with code 255.