Jump to content

[SOLVED] Help


tecmeister

Recommended Posts

Hi everyone,

 

I'm trying to get the info from the URL one by one.

This is the script that I have used to send the info to the URL.

$name = $_POST['name'];
$del = $_POST['del'];
$Per = $_POST['Per'];
$ser = $_POST['ser'];
$cus = $_POST['cus'];
$rec = $_POST['rec'];
$reviw = $_POST['reviw'];

$error = array();

if(empty($name))
{
	$error[] = "name";
}
if(empty($del))
{
	$error[]  = "delivery";
}
if(empty($per))
{
	$error[] = "performance";
}
if(empty($ser))
{
	$error[] = "services";
}
if(empty($cus))
{
	$error[] = "customers";
}
if(empty($rec))
{
	$error[] = "recommend";
}
if(empty($review))
{
	$error[] = "review";
}
if (count($error) > 0) {
     header("Location: add_feedback.php?error=" . implode("+", $error));
}
[\CODE]

When it goes back to the add_feedback.php, how do I ask it about all the data that is on there?
I understand some of it.
[code]
$error = $_GET['error'];

I know how to search it if there is just one thing on there.  This is the example that I'm using for alot of things.

http://www.cxgsystems.co.uk/test/add_feedback.php?error=name+delivery+performance+services+customers+recommend+review

 

How would I know that performance is on there so I can check it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.