What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-08 14:23:03
how to use include in php
<?php include 'archive.php'; ?> Add solution -
PHP 2021-09-07 23:13:02
Notice: Undefined index: fname in E:\New folder\htdocs\rform\register.php on line 17
<?php require_once('../Connections/itemconn.php'); ?> <?php $id=$_GET['id']; $query=mysql_query("select * from manuf where id='$id' ")or die(mysql_error()); $row=mysql_fetch_array($query); ?> &... Add solution -
PHP 2021-09-07 03:54:03
php require vs require_once
//The require statement has two variations, require and require_once. //The require/require_once statement is used to include file. // Require a file to be imported or quit if it can't be found <?php require 'requiredfile.php'; ?> // Require_once ... Add solution -
PHP 2021-09-07 03:12:03
login page php mysql check if user is verified in the database before user can be logged in
// call the login() function if register_btn is clicked if (isset($_POST['login_btn'])) { login(); } // LOGIN USER function login(){ global $db, $username, $errors; // grap form values $username = e($_POST['username']); $password = e($_POST['passwo... Add solution -
PHP 2021-09-06 04:24:02
php capture include
ob_start(); include 'test.php'; $output = ob_get_clean(); Add solution -
PHP 2021-09-05 01:44:03
variable superglobale php
#Superglobal $_SERVER Superglobal Superglobals were introduced in PHP 4.1.0, and are built-in variables that are always available in all scopes. Basically system variables. https://www.w3schools.com/php/php_superglobals.asp Note: $_SERVER Superglobal... Add solution