Page 1 of 1
php reg form
Posted: Sun Jul 16, 2006 1:19 am
by prongs_386
hi, i am running phpbb2
but i want a page to have a table which will have a register button above it. this button should add the user to the table(must be logged into forums) so it would effectively just list whoever has chosen to be on the list. I would also like an unregister button. How can i go about making this page?
Posted: Sun Jul 16, 2006 10:38 am
by tecktalkcm0391
YOu need to find out how it stores the logged in information and then were the username is in that session. then when they click the button it goes to a process page that takes there username from the session if they are logged in and then adds there name to a database table and then they get sent back the the table page. The same thing for unregister but it deletes there username from the table. Then for the table you just need a loop that prints each row of the database table out in HTML.
Posted: Sun Jul 16, 2006 5:00 pm
by prongs_386
ok thanks, yeah that sounds about right. the thing is though, i have some programming experience but none with php and i wouldnt be able to setup this external php file to run the scripts
Posted: Sun Jul 16, 2006 10:56 pm
by tecktalkcm0391
prongs_386 wrote: i wouldnt be able to setup this external php file to run the scripts
What are you talking about?
AIM me if you want to talk about this more.