The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Adding fuctions to the php

Go down

Solved Adding fuctions to the php

Post by Killer2270 on April 30th 2011, 2:42 am

I am trying to make a comment board on an HTML page. Here is the code I'm hoping to use for the style and the input:

Code:
<style type="text/css">
div.yes
{
border: 4px solid #00FF00;
background:#008800;
margin:25px;
padding:25px;
width:600px;
}
div.no
{
border: 4px solid #00FF00;
background:#000000;
margin:25px;
padding:25px;
width:600px;
}
 </style>

(Skip to the input)

<form name="input" action="postup" method="get">Text: <textarea name="post" cols="40" rows="5"></textarea><br><input type="submit" value="Submit"></form>

I know I need to add the function "postup" to the php, but I don't know where it needs to be put. Where should it be put or what should I change in the action part of the code?


Last edited by Killer2270 on May 3rd 2011, 3:34 am; edited 1 time in total

Killer2270
Forumember

Posts : 72
Reputation : 10
Language : English

http://engineeringcore.forumotion.com

Back to top Go down

Solved Re: Adding fuctions to the php

Post by Killer2270 on May 2nd 2011, 3:12 pm

Bumpin

Killer2270
Forumember

Posts : 72
Reputation : 10
Language : English

http://engineeringcore.forumotion.com

Back to top Go down

Solved Re: Adding fuctions to the php

Post by Beno on May 2nd 2011, 10:32 pm

I'm not sure what you are trying to accomplish here Confused

It is not possible to have php on a Html page hench why its an html not php. The only way this could be possible is if you hosted the script else were on a free web hosting but then it wouldn't be possible to have your forum address there.


avatar
Beno
Hyperactive

Male Posts : 3024
Reputation : 67
Language : English
Location : England

http://www.benwhitedesign.co.uk

Back to top Go down

Solved Re: Adding fuctions to the php

Post by Killer2270 on May 3rd 2011, 3:33 am

Ok then, marking solved I guess...

Killer2270
Forumember

Posts : 72
Reputation : 10
Language : English

http://engineeringcore.forumotion.com

Back to top Go down

Solved Re: Adding fuctions to the php

Post by Sanket on May 3rd 2011, 10:55 am

Since this thread is marked solved, I will lock this thread.


Sanket Smile

avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum