monkeybidz Posted May 28, 2007 Share Posted May 28, 2007 Basically, what im try to do is add a few more text fields on top of this one when posting a ne item: <INPUT NAME=TITLE VALUE=\"$title\" TYPE=HIDDEN SIZE=50 MAXLENGTH=50> The other fields names would be: TITLE1 - TEXT Example: Los Angeles TITLE2 - HIDDEN Example:To TITLE3 - TEXT Example:New York Each field represent a text word that will be entered by the user. I need to add up all these fields to = $title and creat a sentence. The results for $title will appear on another page like this: Los Angeles To New York I know this can be done in PHP, but can it be done in HTML? Link to comment https://forums.phpfreaks.com/topic/53227-form-mixed-with-html-php/ Share on other sites More sharing options...
AndyB Posted May 28, 2007 Share Posted May 28, 2007 I know this can be done in PHP, but can it be done in HTML? No. HTML is not a programmatic language. php could do it or javascript could combine multiple form inputs into a single string, e.g. as a hidden input field in your form. Link to comment https://forums.phpfreaks.com/topic/53227-form-mixed-with-html-php/#findComment-262998 Share on other sites More sharing options...
monkeybidz Posted May 28, 2007 Author Share Posted May 28, 2007 I can use Java also. Where could i find this info? Link to comment https://forums.phpfreaks.com/topic/53227-form-mixed-with-html-php/#findComment-262999 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.