how to make my profile like a facebook?? if i am login then i will show my record as like image ,name,email id.(.all fileld in stud_person table)
this is table creteated db.define_table('stud_person', Field('image', 'upload'), Field('first_name', requires=IS_NOT_EMPTY()), Field('middle_name', requires=IS_NOT_EMPTY()), Field('last_name', requires=IS_NOT_EMPTY()), Field('email_id', requires=IS_NOT_EMPTY()), Field('address','text', requires=IS_NOT_EMPTY()), Field('mother_name', requires=IS_NOT_EMPTY()), Field('gender', 'list:string'), Field('dob','date', requires=IS_NOT_EMPTY()), Field('blood_group', requires=IS_NOT_EMPTY()), Field('mother_tongue', requires=IS_NOT_EMPTY()), Field('mobile_no','integer', requires=IS_NOT_EMPTY())) cantroller:- @auth.requires_login() def my_profile(): record = db.stud_person(request.args(0)) form = SQLFORM(db.person, record) return dict(form=form) i wiil do this but this not work. it is correct way?? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.