-
Posts
19 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by sk8ertim
-
-
Hello everyoneI am a newbie in web design, but I managed to make a website with Dreamweaver in HTML5 and some photoshop...After setting evrything up, I ran into some problems that I just can't debug This is the site: http://www.pro-skating.com/ (figure skating site for my parents) The 1st problem is the fact that I cannot get the body to center on browsers... On some it centers, but on others it looks tweeky... The 2nd problem is a send form on http://www.pro-skating.com/signup.htmlI just cannot get it programmed right... It runs into error 18 and quits out Here's the PHP code:
<?php//--------------------------Set these parameters--------------------------// Subject of email sent to you.$subject = 'admin@pro-skating.com;'// Your email address. This is where the form information will be sent.$emailadd ='admin@pro-skating.com';// Where to redirect after form is processed.$url = 'www.pro-skating.com/index.html';// Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.$req = '0';// --------------------------Do not edit below this line--------------------------$text = "Results from form:\n\n";$space = ' ';$line = '';foreach ($_POST as $key => $value){if ($req == '1'){if ($value == ''){echo "$key is empty";die;}}$j = strlen($key);if ($j >= 20){echo "Name of form element $key cannot be longer than 40 characters";die;}$j = 20 - $j;for ($i = 1; $i <= $j; $i++){$space .= ' ';}$value = str_replace('\n', "$line", $value);$conc = "{$key}:$space{$value}$line";$text .= $conc;$space = ' ';}mail($emailadd, $subject, $text, 'From: '.$emailadd.'');echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';?>
Please, is there anyone that could help with this stuff?
-
Hi all Im sk8ertim aka Tim.Im 14 and a TOTAL N00b at HTML and CSS. :blink: Now Im making this site, and still need help. Well this site ROCKS OUT LOUD!! :) Tim
Website placement and form trouble
in HTML/XHTML
Posted
Well the auto value didn't help my container fitment problem... It's still stuck on the left side of the screen... :(As for the 2nd Q: I need to get a PHP send form going (so that people could fill out an aplication online, and that I could get it on my server email addy. Here's my CSS for the site (btw this is the 1st time that I have trouble getting a page to stay center)
And here is the send form (application) that I have: