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? Quote 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. Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.