PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Ok, being the major newbie that I am, I may have bitten off more than I can chew. What I want to do is be able to type something into a text box on one page, press the button, and have it go to another page that displays the text in a semi-permanent way.
(the question mark/close bracket wont show up at the end, but I used it)
and neither told me what version of PHP I am using. Did I have something in the code wrong? Although I'm pretty sure it's the latest one. I think it's PHP 4.3.2RC1, but I could be wrong.
if not open the "source view" in your browser. If you can see the complete text of the script there your server does not parse php at all and you have to check your installation again.
btw: you opened the script via http://localhost/... or similar?
That is what is so strange, all the other PHP works fine. Also, View Source only gives me the html like it should, not the PHP. That little script should have worked.
FTR-I should be on AIM and MSN all day Saturday (after 12 noon PST) if anyone is willing. My nic on both is just 'abrasiverock'.
Ok, I know this is going to sound sad and pathetic, but I just got the PHP info thing to work...I think? http://216.177.247.144/phpinfo.php and it says that "Current PHP version: 4.2.2".
So now I'm going to crash and work all Sunday on trying to learn how to conquer the original task of this post...taking information from a text box and adding it to a database.
Well, it shows up on the next page the first run through, but does not write to the database. So the text on the page goes away as soon as someone tries to type something in the text box at the bottom.