Adding fuctions to the php
3 posters
Page 1 of 1
Adding fuctions to the php
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:
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?
- 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
Re: Adding fuctions to the php
I'm not sure what you are trying to accomplish here
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.
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.
Re: Adding fuctions to the php
Since this thread is marked solved, I will lock this thread.
Sanket
Sanket
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» adding more legend ,adding topic icons
» Help about adding moderator,adding stickies and announcement
» Adding a "Box"
» Adding New URL into Nav Bar
» Adding + to your name
» Help about adding moderator,adding stickies and announcement
» Adding a "Box"
» Adding New URL into Nav Bar
» Adding + to your name
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum