one value in one field

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

tod900
Forum Newbie
Posts: 14
Joined: Thu Nov 20, 2008 6:35 am

Re: one value in one field

Post by tod900 »

What is the best way to do it.

there is a lot of different ways to do it. if i go down the road of check boxes i will have about
50 which seems a bit much for check boxes and that is without text boxes and text areas.

I'm not very experienced with php but i have books which don't allow for experience. i find when you do
something at the beginning as i move on with php i end up changing the php which was done in the beginning.

help please as i am 2 months at this.
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: one value in one field

Post by papa »

No offense but 2 month is a lot if you skip that dreamweaver <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> and focus on reading up on php.

Buy a beginner PHP book, start with some simple scripts and you'll be able to create this yourself in a week or two.
tod900
Forum Newbie
Posts: 14
Joined: Thu Nov 20, 2008 6:35 am

Re: one value in one field

Post by tod900 »

I have done all this and your right.

I learned how to build websites in 3 months because i had to.
i am how 2 months working on 3 basic problems with php and i can't understand why there is so many ways of doing the same thing.

I can see a lot of educated people here but for someone who is beginning the lingo is hard to understand.

Sorry if i have frustrated you.

:banghead: :oops:
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: one value in one field

Post by papa »

Not at all, we are all here to learn.

What I mean is that a lot of people come here and ask questions and wants to find out solutions to their problem. However when the code is more complex than the user understand there is not much point of giving directions. It's probably better to go one step back and learn how to walk before you start running. :)

To get back to topic. If you have a very big form you might want to split it into several pages.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: one value in one field

Post by aceconcepts »

I'd agree with papa. A lot of the time people come here intending to find a quick fix and aren't prepared to learn how something works.

Like papa said it's far easier, although takes more time, to take a step back and learn how to walk :D
tod900
Forum Newbie
Posts: 14
Joined: Thu Nov 20, 2008 6:35 am

Re: one value in one field

Post by tod900 »

OK

Ill Talk again. when i understand more.
off with the runners and on with shoes. :? :)
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: one value in one field

Post by califdon »

Just to say that I agree with papa and aceconcepts. Computer design and programming may not be rocket science, but it's not like watching TV either. If you want to be able to create complex things like interactive web pages, you won't get very far by buying software that hides what is really doing the work. But if you have the interest and take it from the beginning, step by step, you will be able to do anything you want to do. But it requires s-t-u-d-y.
Post Reply