What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP - storing a string

PHP - storing a string
Author: Message:
Weyzza
Veteran Member
*****

Avatar
SoCal sunset > *

Posts: 1170
Reputation: 29
– / Male / –
Joined: May 2003
O.P. PHP - storing a string
I need help in creating a simple page.

I make a page resembling http://thcnet.net/zork/index.php
But I have limited knowledge of PHP to create the same one.

So far, I have this:
code:
<?php

$prompt = $_POST['inputPrompt'];

if( strcmp( $prompt, "" ) == 0 ) {
    echo "&gt; " . $prompt;
    echo "<br />";
}

?>
<form action="index.php">...</form>

How do I make it remember the last entries before the form?
I know I might be able to use hidden input text, but it's dirty.

Thanks. I really appreciate it.
Registered 7674 days, 17 hours, 47 minutes, 6 seconds ago.
Happy Birthday, WDZ

07-12-2006 05:14 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP - storing a string - by Weyzza on 07-12-2006 at 05:14 AM
RE: PHP - storing a string - by rav0 on 07-12-2006 at 07:20 AM
RE: PHP - storing a string - by WDZ on 07-12-2006 at 07:55 AM
RE: RE: PHP - storing a string - by rav0 on 07-12-2006 at 08:12 AM
RE: PHP - storing a string - by Weyzza on 07-13-2006 at 02:53 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On