View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Dynamic input script/form

Thread began 5/28/2009 3:09 am by secure377208 | Last modified 6/17/2009 10:31 am by secure377208 | 2790 views | 7 replies

secure377208

still have issues

Hi Ray,
Thanks for the pointers, however we havent dealt with the main issue which is in item c)

my script to take the input postcode and echo it onto the screen works but because the map is displaying on the input screen rather than after the submit button has been pressed it isnt picking up the postcode variable and the map doesn't display at all on the screen where the script does succesfully echo the postcode onto the screen which you would have seen if you had followed the above link, therefore my question again is;

In the code below where do we need to place the map code in order to have it display after the data entry and the submit button has been pressed and do we need to add extra elements to the script in order to get it to work?

<?php
$Pcode = $_POST["Pcode"];
if (!isset($_POST['submit'])) { // if page is not submitted to itself echo the form
?>
<html xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<title>map test</title>
</head>
<body>
<form method="post" action="<?php echo $PHP_SELF;?>">
Post Code:<input type="text" size="12" maxlength="12" name="Pcode"><br />

<input type="submit" value="submit" name="submit">
</form>
<p>
<?
} else {
echo "Your postcode is ".$Pcode." .<br />";
{
echo $f."<br />";
}
echo "<i>".$quote."</i><br />";

}
?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...