Jump to content

print definition with php


xxreenaxx1

Recommended Posts

Yes I have left ; in my previous statement. Thank you for that.

 

$title = $_POST['title'];
	$forename = $_POST['forename'];
	$surname = $_POST['surname'];
        $address = $_POST['address'];

        setcookie('title',$title);
	setcookie('forename',$forename);
        setcookie('surname',$surname);
	setcookie('address',$address);

 

print "<p>$title $forename $surname  $address </p>";

 

 

is the set cookies actually doing anything, becuase when i display the output. it just print the title, forename, surname and address. But when i refresh the page, it doesnt out put anything.

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.