Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
kidmac is on a distinguished road
 
Posts: 19
Join Date: Mar 2011
Default Help - 01-25-2012, 12:37 PM

Quote:
on the server side.
get what the user entered, check if its valid, and then generate that line of html. For example in php, assuming it was a POST request:
Code:
<?php
    $input = $_POST['inputFieldName'];
    validateInput($input) or header("location: backtotheform.html"); // pseudo line
?>

<script type="text/javascript" src="http://domain.com/index.php?mode=js&zipcode=<?php echo $input; ?>"></script>
I have no idea how to do this help me plz
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com