Jump to content

Archived

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

chng

Sending data

Recommended Posts

I'm using Apache as server. I can't send data from test_php.php to test1.php for display. Can anyone help me? Your help is much appreciate.

 

test_php.php

<html>

<head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

 

<body>

<form name="form1" method="post" action="test1.php">

 

<input type="text" name="variable">

 

<input type="Submit" name="Submit" value="process">

</form>

</body>

</html>

 

test1.php

<html>

<head>

<title>1</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

 

<body>

nama : <?php echo $variable;?>

?>

</body>

</html>

Share this post


Link to post
Share on other sites

×

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.