bradgrafelman;10946913 wrote:There's no "including" or "recalling" done... PHP can read an HTML file and output it to a browser. Then, a user can fill out a form and send the values to a script (either via POST or GET).
We'd have to see the actual code you're using to see what you're doing wrong. Other than that, all I can do is point you off to this manual page: [man]variables.external[/man].
Am trying to build something that will allow my members to select their own look and field, css thingy...
Anywise with no access to my dev box tried to replicate
<?php
if(isset($_POST["user"]))
{
die("ok user = ".$_POST['user']);
} else {
include "test.html";
}
?>
<html>
<head></head>
<body>
<form name="input" action="test.php" method="post">
Username:
<input type="text" name="user" />
<input type="submit" value="Submit" />
</form>
</body>
Naturally that works fine 🙁 The only real difference I have from the example above to the dev stuff is use of a css document in the html and a call to a MySQL open routine above the php isset check.