Search found 5 matches

by visionary
Wed Jul 09, 2003 7:46 am
Forum: PHP - Code
Topic: Form check & Email Validation
Replies: 8
Views: 1017

Heavy code I would say

Hi, I think that echoing your entire pages code out that many times would be heavy on the page file size and rendering of the page that many times etc. Rather use the feature of PHP to be able to pop in and out of the page formatted code and simply display what is relevant and needed. If your page a...
by visionary
Fri Jul 04, 2003 8:59 pm
Forum: PHP - Code
Topic: Form check & Email Validation
Replies: 8
Views: 1017

Major help thanks to m3rajk, Select simplified and varified below! <select name="over" class="formw" id="over"> <?php if(isset($_POST['over'])){ for($i=3;$i<26;$i++){ if($_POST['over']==$i){ echo "<option value=\"$i Years\" selected >$i Years</option>&quo...
by visionary
Fri Jul 04, 2003 6:58 am
Forum: PHP - Code
Topic: Form check & Email Validation
Replies: 8
Views: 1017

got it!!

Solution was the conditionals, what looking for and where! Code below to see. Cheers all for considerations and sugguestions. <?php // Check if form Submitted if (isset($_POST['submit'])){ // Check if form field are completed if (!$borrow || !$over || !$property_value || !$outstanding_mortgage || !$...
by visionary
Thu Jul 03, 2003 1:19 pm
Forum: PHP - Code
Topic: Form check & Email Validation
Replies: 8
Views: 1017

full code!

Here we go then, jumping in and out to make the page do as I want and show aht is necessary when it is so and then to thank once done. HTML PAGE DESIGN just nav and image stuff ______________________________________ <?php if ($submit)&#123; if (!$borrow || !$over || !$property_value || !$outstan...
by visionary
Thu Jul 03, 2003 12:18 pm
Forum: PHP - Code
Topic: Form check & Email Validation
Replies: 8
Views: 1017

Form check & Email Validation

Hi all the PHP heads, I know its basic but this is doing my head in a bit. Any help please! **************************************************** ___________ HTML STUFF ___________ <?php if ($submit){ if (!$email || BLAH || !$eCheck) { $error = "Required Fields Missing (*)!"; $error1 = &quo...