Jump to content

adding multiple 'issets'


sphinx

Recommended Posts

Hi there,

 

I'm currently using the below code to allow one isset which is ?sent,  I also want to add another in this case ?sent1

 

<?php
$link ='index.php?sent';
if (!isset($_GET['sent']))
include 'contact.php';
?>

 

An example of what I mean is below (obviously it doesn't work )

 

<?php
$link ='index.php?sent';
if (!isset($_GET['sent']) & ['sent1']))
include 'contact.php';
?>

 

Many thanks

Link to comment
https://forums.phpfreaks.com/topic/248495-adding-multiple-issets/
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.