Situation:
Ok, what i want is an HTML form on my own web page, that gets the data. And when they hit submit, the data is sent to a php file or something and is converts the data somehow so that it can be displayed on the original page that the for was on...u know...like including a php file in a website. but the data is in a php file. so when the php is included in the web page (the one with the data on it), the data they sent is on that same page with the form.
This has been bugging me for probably like 6 months now. and if u dont understand what i'm trying to say please please please talk to me on AIM. and i can explain some more. thank you.
I need a PHP programmer to help me with a guestbook
Moderator: General Moderators
in that case change the html to php
unless you're looking to hire someone here, i'd suggest bookmarking http://www.php.net
the first things you should look up are the tag types: <?php <? <%
the reason you should look that up is because depending on the server configureation you may be able to use only one of them or alll three of them.
the second thing you need to do is decide itf you're using a text file or database.
in the case of the former i suggets picking a character like ; that isn't used often and using that as a seperator
unless you're looking to hire someone here, i'd suggest bookmarking http://www.php.net
the first things you should look up are the tag types: <?php <? <%
the reason you should look that up is because depending on the server configureation you may be able to use only one of them or alll three of them.
the second thing you need to do is decide itf you're using a text file or database.
in the case of the former i suggets picking a character like ; that isn't used often and using that as a seperator
some guy gave me a php count that was php based....and i didn't "know" the code....but i "understood it" and the data was send to a php file...and the html file had the <%php include (or somthing like that) line in it and the data went from the text document to the html page like that.
i dont plan on learning php now..... (but soon though)...but all i need is this one thing right now so any help would be apreciated
i dont plan on learning php now..... (but soon though)...but all i need is this one thing right now so any help would be apreciated
Its something like this. Call the form. Everything is blank, so you make the form call itself. When the user clicks submit, the second time through, make the form go to the processing program. Then place the values entered into the <input tags
Code: Select all
<?php
if($_POST['submit']){
echo "<form action=$PHP_SELF method=POST>";
}
else {
echo "<form action=commit.php method=POST>";
}
echo '<input type=text NAME=thevar value="'.$_POST['thevar'].'">';
echo "<INPUT TYPE=Submit NAME=submit VALUE=1>";
echo "</form>";
?>World Writable
does anyone know how to makephp world writable on windows? ...... something like "chmod 777" or something....my friends been trying to help....so i dont really know any of this....please help