Month: February 2023
CRUD operating PHP
//for databaseCreate Database name as data CREATE TABLE users(id INT AUTO_INCREMENT PRIMARY KEY,name VARCHAR(50) NOT NULL,email VARCHAR(50) NOT NULL UNIQUE);
CRUD operating PHP Read MorePrime Number or not using PHP
<?php if ($_SERVER[ "REQUEST_METHOD "] == "POST ") { $num = $_POST[ "num "]; $is_prime = true; if ($num <= 1) { $is_prime = false; } else { for ($i …
Prime Number or not using PHP Read MorePalindrome or not using PHP
<?php if ($_SERVER["REQUEST_METHOD"] == "POST") { $num = $_POST["num"]; // convert number to string $num_str = strval($num); // reverse the string $reverse_str = strrev($num_str); // check if the original number …
Palindrome or not using PHP Read More