am using the $_POST method to post data between pages. used it more than one ocasiion in the same website but there is this one instance where it keeps posting only the first word, can some look at it and tell me what am doing wrong:
First page:
print ("
<form action='confirm.php' method='post'>
<input type='hidden' size=1 name='id' value=$id>
<input type='hidden' size=60 maxlength=200 name='name' value=$name>
<input type='hidden' size=60 maxlength=200 name='address' value=$address>
</form>
");
second page:
$hotelid = $POST['id'];
$name = $POST['name'];
$address = $_POST['address'];
print ("
<b>$qty</b> Room(s) in the <b>$name</b> located at: $address
");
So it only shows the first word of the name and first word of addresss, i can't see what am doing wrong.