FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


help plz





dots
hello people plz help me
I WANT to code a register page which has infromation like Firstname,country,address etc
i've to code it using _POST array
and relate it with DB
help plz ??? Sad
rvec
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?
dots
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
dots
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
carl_fernandes
You will have to make a form and post it either to same page or to another page which contains the code which fetches values from the POST array and then inserts them into the database. But before inserting the values intot he database you might want to consider to validate the registration form else you might get a lot of bogus entries into your database.

==========
http://friday-movie-review.blogspot.com/
http://amazing-goa.blogspot.com
dots
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 ??
rvec
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.
dots
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
rvec
depends a lot on what the view and model look like
AOP Web Development
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.
Related topics
The noob needs help/Plz
Can't start building my web even that I posted 5 posts..HELP
A problem with my computer.....need help...plz
can't access local mysqlserver. help plz!
Problems logging into FTP help!!
msql help plz
PHP help plz
help plz
HELP!PLZ HELP ME!Convert swf to gif
Form Processing Help. It is doing my head in
Form Mail help........lol
windows xp home SP2 gr Activation Help
adsense problem help plz
adsense problem help plz
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.