php reg form

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

Post Reply
prongs_386
Forum Newbie
Posts: 2
Joined: Sun Jul 16, 2006 1:15 am

php reg form

Post 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?
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post 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.
prongs_386
Forum Newbie
Posts: 2
Joined: Sun Jul 16, 2006 1:15 am

Post 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
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post 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.
Post Reply