Web/Script/Content Question
Discussion
I'm a bit of a web design novice but i'd like to make a page to compile some text based on the selections of the user.
Basically the user could click check boxes for each item them would like, click a button and the relevant text regarding each of those selections would be generated allowing it to be copied and pasted elsewhere.
I don't have the slightest clue how this would be done - is there some kind of script available to perform this function or is the solution more complex?
Basically the user could click check boxes for each item them would like, click a button and the relevant text regarding each of those selections would be generated allowing it to be copied and pasted elsewhere.
I don't have the slightest clue how this would be done - is there some kind of script available to perform this function or is the solution more complex?
Check google, there will be tons of simple scripts.
But if this is for anything pro / corporate, then I'd advise you get a developer to look into it.
Far too much spamming these days from 'home coders' knocking up a Comments / Contact form with no thoughts or ideas on making the forms secure, and thereby allowing the world and its dog to relay spam through the form.
J
But if this is for anything pro / corporate, then I'd advise you get a developer to look into it.
Far too much spamming these days from 'home coders' knocking up a Comments / Contact form with no thoughts or ideas on making the forms secure, and thereby allowing the world and its dog to relay spam through the form.
J
JamieBeeston said:
Check google, there will be tons of simple scripts.
But if this is for anything pro / corporate, then I'd advise you get a developer to look into it.
Far too much spamming these days from 'home coders' knocking up a Comments / Contact form with no thoughts or ideas on making the forms secure, and thereby allowing the world and its dog to relay spam through the form.
J
Hi Jamie - what would something like this be called? I have no idea of the lingo!
FYI it's for this page - www.fazedesign.co.uk/ph/events/banners.htm
I basically want to allow someone to select which events they attended and then the page would generate the relevant PH code allowing it to pasted directly into the users profile.
If it was me then I'd use PHP and MySQL. Partly because I don't know a great deal of Javascript but also because it will be easier to manage.
I'd have a very simple mysql table holding all the information you require such path to image, name, ph code etc. Then just a simple loop with PHP can echo all the images with a checkbox, its id and associated data. When the submit button is clicked then its just very simple PHP to check which checkboxes were checked and use the id's to retrieve the relevant data and show it to the user.
I don't think thats overkill. And when it comes to adding more images, you just make an entry in the database and everything else is done for you
I'd have a very simple mysql table holding all the information you require such path to image, name, ph code etc. Then just a simple loop with PHP can echo all the images with a checkbox, its id and associated data. When the submit button is clicked then its just very simple PHP to check which checkboxes were checked and use the id's to retrieve the relevant data and show it to the user.
I don't think thats overkill. And when it comes to adding more images, you just make an entry in the database and everything else is done for you

www.velocityreviews.com/forums/t97323-javascript-or-aspnet.html
Fourth post down looks like a rough outline of what you want.
Fourth post down looks like a rough outline of what you want.
baxtersweb said:A classic case of choosing the solution that fits your skills rather than the skills that are appropriate for the solution.
If it was me then I'd use PHP and MySQL. Partly because I don't know a great deal of Javascript but also because it will be easier to manage.
The requirements are all client-side, so why involve the server in a completely unneccessary round-trip? You're proposing sending multiple strings to the server so that it can do simple string manipulation and then re-serve the page content with the manipulated strings. What a waste of server resources and bandwidth!
This is so obviously a client-side requirement, so JavaScript is the preferred solution in this case (and it's not often I say that)

Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


