Q: I have just begun coding and wanted a connector code in php and thought of giving my purchase a try.

But was a bit disappointed not to find it as an option.
the code i was looking for was similar to the below. do you plan to add PHP in the future?
<?php
$servername = "localhost";
$username = "username";
$password = "password";

// Create connection
$conn = mysqli_connect($servername, $username, $password);

// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
echo "Connected successfully";
?>

Savio_VazApr 24, 2022
Founder Team
Shreyans_AskJarvis

Shreyans_AskJarvis

May 14, 2024

A: Hello Savio, we do in fact support PHP. If you go into Syntax Generator and select PHP in the language and ask it to generate code for "Connector code" you should get what you are looking for.

Please reach out to us if you are still having trouble generating PHP code, would be happy to help.

Share
Helpful?
Log in to join the conversation