sdfsd - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of sdfsd.php

  1. $servername = "localhost";
  2. $username = "unistudentwebsite";
  3. $password = "MFZwv-@DiDg#";
  4. $dbname = "unistudentwebsite";
  5.  
  6. $conn = mysqli_connect($servername, $username, $password, $dbname);
  7.  
  8. if (!$conn) {
  9.     die("Connection failed: " . mysqli_connect_error());
  10. }
File Description
  • sdfsd
  • PHP Code
  • 20 Sep-2023
  • 270 Bytes
You can Share it: