| http://www.w3.org/ns/prov#value | - Below is an example on how you would use this with a POST method form and a $_SESSION['error'].Code: Select all<?php session_start(); if(isset($_POST['submit'])) { if(empty($_POST['post_firstname']) || empty($_POST['post_lastname']) || empty($_POST['post_email'])) { $_SESSION['error'] = '<strong>You must enter all information</strong>'; } else { echo 'First Name: '.$_POST['post_firstname'].'<br>';
|