Reply
Need to create a page "title" upon submission of a form
Old 09-03-2006, 12:59 PM Need to create a page "title" upon submission of a form
Experienced Talker

Posts: 37
Name: Tyone Slothrop
Hi,

I am wondering if there is a way to create a title of an html page upon submission of a form. For example, if there is a form on a site that allows registered users to create an entry about a subject (ie wiki), and that form has a field called "title" for the entry. When the user clicks submit, can the input id for the title, then become the title for the page?

I am trying to make sure that each entry that a user makes has a unique title, that is not currently the case. I have thousands of entries with the same title.

Thank you very very much.
pats_mets is offline
Reply With Quote
View Public Profile Visit pats_mets's homepage!
 
When You Register, These Ads Go Away!
Old 09-04-2006, 08:38 AM Re: Need to create a page "title" upon submission of a form
Novice Talker

Posts: 8
Name: Dusan Szoke
Hi.

I think there is a way how to do it using for example PHP.

Basically the code could look like this:

PHP Code:
<?php

$title 
$_GET['title']; // or $_POST if you use this method


?>

<head>
<title><?php echo $title?></title>
</head>
Dusko is offline
Reply With Quote
View Public Profile Visit Dusko's homepage!
 
Old 09-05-2006, 06:58 PM Re: Need to create a page "title" upon submission of a form
Ultra Talker

Posts: 264
Location: UK
If you wanted unique ones you could store the details on a mysql database.

PM me if you want help.
__________________
UKTV Index
http://www.uktvindex.net
Comprehensive resource for UK Television
uktvindex is offline
Reply With Quote
View Public Profile
 
Old 09-05-2006, 08:29 PM Re: Need to create a page "title" upon submission of a form
kIDJOE's Avatar
Extreme Talker

Posts: 180
Location: Hollywood, CA
I agree, for this you would need to store your data someware and pull it from the same place everytime that is required, PHP with MYSQL would do the job
kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Reply     « Reply to Need to create a page "title" upon submission of a form
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12897 seconds with 12 queries