so you want a registry page that gets all info, sends it in a post array and then another page to get that array and put it in a database. Well, what do you have? Where did you get stuck?
yes, i'm working on mvc project
i want o make a page to check on not-null registeration fields and
if found-->Add an new contact to data base
the page i'm making doesn't has the html view ,u know mvc the view is separated from control
i'm makig control now thanx for replying
ok let that the view has textboxes for inputs:
FirstName
Address
Contry etc
in the control page how can i check them
if($_POST['firstname=="john")
{
}
will i write previous code for each field
can i make an array
how ??
if you don't know how to make an array I would suggest not using an mvc model. It is one of the harder design models to use, and really not easy if you don't even know how to make an array.
no i didn't mean i don't know how to make an array
by "how?"
i meant how will the total code look like ?
thanx for replying people
depends a lot on what the view and model look like
could you state what type of framework you are using at? it would be better if what type of framework so that other people uses that certain knows what you really want to have.