Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
problem with my site in ie.
Old 04-09-2006, 06:45 AM problem with my site in ie.
Evo
Junior Talker

Posts: 157
Trades: 0
take a look at www.tutorial-database.com/advertise.html see how down te bottom fo the page i have all this loose code why is this. Is it because its not in php if so change the /advertise.html to /advertise.php and you will see what it does. I cant win either way. Can somebody give me a script or code so that i can add a contact page in just using html. coz otherwise my page stuffs up.

or if you could tell me how to fix it. the page is coded i xhtml and i would like to keep it that way if possible
Evo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-09-2006, 08:57 AM
Banned

Posts: 0
Trades: 0
I see your page is in html and the coding is in php.. You have to change it into php.

I don't know if your missing <form> or not.. I only see <form> and no </form> at the end.
wirlwind1 is offline
Reply With Quote
View Public Profile
 
Old 04-09-2006, 08:59 AM
Banned

Posts: 0
Trades: 0
Code:
<?

$email_address = "webmaster@tutorial-database.com"; 

if($_GET['take'] == '')
{
echo "
<FORM action='$PHP_SELF?take=sendform' method='post'><BR>
	Name:&nbsp; &nbsp; &nbsp; <INPUT name='name' size='30'><BR><BR>
	Email: &nbsp; &nbsp; &nbsp;&nbsp;<INPUT name='mail' size='30'><BR><BR>
	Ad Type: <INPUT name='subject' size='30'><BR><BR>
             Site URL: <INPUT name='site' size='30'><BR><BR>
	Message: <BR><TEXTAREA name='message' rows='6' cols='45'></TEXTAREA><BR><BR>
<INPUT type='submit' value='Submit' name='submit'>";
}

if($_GET['take'] == 'sendform')
{
	$message = "
	\n
	Name: $name
	\n
	E-mail Address: $mail
	\n
             Site URL: $site
	\n
	Message: $message
	\n
    ";
		mail("$email_address","$subject",$message,"From:$mail");
		echo "Your email is being sent. Please click back to return to your previous page."; // your message when the form is sent goes here
}

?>
Maybe </form> should go after this:

Code:
 <INPUT type='submit' value='Submit' name='submit'>
wirlwind1 is offline
Reply With Quote
View Public Profile
 
Old 04-12-2006, 07:57 AM
Evo
Junior Talker

Posts: 157
Trades: 0
lol well ok i fixed the page up now but i olny made it php coz the code is php. ii got rid of the script now but so im going to find a script that will work on xhtml
Evo is offline
Reply With Quote
View Public Profile
 
Old 04-12-2006, 11:20 AM
Banned

Posts: 0
Trades: 0
hope you find what your looking for. I couldnt find the script
wirlwind1 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to problem with my site in ie.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43528 seconds with 12 queries