SOrry for the slow response, but work as kept me buried and I have not been able to log back in to check responses.
I am sorry for not catching the Print statement in the first response. Shesh..
As for the PHP vs HTML, normally I only use PHP however, I had been working on resolving this for...
I finally solved the problem but am not sure why it works this way: I added the echo command into the value statement and it posted the value into the hidden variable.
***********
<?php
$Age = "12";
?>
<form method=post action="showpoll.php">
<input type="hidden"...
TANSTAAFL,
Thanks for the question about viewing the source. I didn't see that message when I posted my last response.
When I view the source for the page with the form, there is no reference to the assignment of $Age. It is skipped completely and not placed into the page. This would...
Thanks. I added the print_r($_POST) to my script and it verified that the $test field is coming in with blanks. I have added another text field, and when posting putting something in there, I get the data from the text field, just the test field (type=hidden) is blank.
Really frustrating...
Jim
Thanks.. I tried using print_r in this format for the second page:
<?
error_reporting(E_ALL);
$test = $HTTP_POST_VARS['test'];
print_r($_POST['test']);
?>
</html>
but still get the same results. Also, I changed the first page to a .php extension. Same results.
The POST process works for...
Hello, I am trying to use the POST process to pass variables from one form to another. Not fancy, however it is not working. Any ideas?
*****************
<html>
<head>
<title>Polling</title>
</head>
<body>
<h1>Poll </h1>
<p> Vole...</p>
<?$Age = 1?>;
<form method=post...
Hello...what is the difference between the cookies in the cookies folder and cookies in the temporary internet folder. If I delete the cookies in the cookies folder, the same file in the temp folder stays there. Do I have to delete both of them to remove the cookie? I am attempting to do this...
Thanks! I got two solutions and both look like they will work. I had tried the Select Count option, but was stuck on the syntax so I gave up.
One reponse mentioned "Using DAO Technology"... what should I be using instead? ADO? What is the difference/benefits?
I have 20 years of...
I have created the following code to retrieve a set of records from a recordset. I am returning 8 records (as expected) however, I want to know how many I have retrieved instead of the actual records.
The value of "F" is always 1 as the recordcount option never returns the number...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.