Jump to content

else if error


giannis

Recommended Posts

The only php code before that line is:

 

<?php
include "connect.php";
session_start();
session_register("session");
$empty_fields_message = "<p>Click <a class=\"two\" href=\"javascript:history.go(-1)\">here</a> to go back and complete all the fields in the form.</p>Click <a class=\"two\" href=\"javascript:history.go(-1)\">here</a> to go back";
$password1 = $_POST['password1']; 
$password2 = $_POST['password2'];
if(!isset($session['userid'])){
echo "<center><font face='Verdana' size='2' color=red>Sorry, Please login and use this page </font></center>";
exit;
}
?>

Link to comment
https://forums.phpfreaks.com/topic/214300-else-if-error/#findComment-1115193
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.