/    Sign up×
Community /Pin to ProfileBookmark

Print? Update and other probs

Hi I need help I’m doing a site and want people to be able to view and leave there names. Got a view and a respond page (see below) and got them to go to and fro each other.

[b]VIEW.PHP[/b]
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY BGCOLOR=”#FFFFFF” TEXT=”#000000″ LINK=”#0000FF” VLINK=”#800080″>
<centre>
WHO HAS VISITED…..<br />
<hr>
<table>
<tr>
<td>John Doe, UK</td>

<td><a href=”respond.php”>++ADD OWN NAME++</a></td>
</tr>
</table>
</BODY>
</HTML>

[b]RESPOND.PHP[/b]
<HTML>
<HEAD>
<TITLE></TITLE>

</HEAD>
<BODY BGCOLOR=”#FFFFFF” TEXT=”#000000″ LINK=”#0000FF” VLINK=”#800080″>
<form action=”<view.php>” method=”post”>
<table>
<tr>
<td>John Doe, UK</td>
<td><input type=”text” name=”response”><input type=”submit” value=”Submit”></td>
</tr>
</table>
</form>

</BODY>
</HTML>

I know the view.php will need a PRINT “response” bit to display the submitted name after the first one but how do I get the submitted name added to the view page so that when others visit it there will be a list of all the names submitted.

[I]Explaination aint my strong point sorry.[/I]

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@PunkSktBrdr01Feb 04.2004 — You will need to write to the file, so check out the [URL=http://us3.php.net/manual/en/ref.filesystem.php]filesystem[/URL] functions. ?
×

Success!

Help @holynunkenobi spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...