Jump to content

Archived

This topic is now archived and is closed to further replies.

alen

Members List

Recommended Posts

Howdy!

I'm looking for a 'Members' script.

Wich displays the name, location, email and maybe something more.

There should be an admin place, where you can add people into the 'Members list'.

Anyway .. Has anyone by any chance seen this type of php script?

Best regards Alen

Share this post


Link to post
Share on other sites
Try scripting it yourself, reading the tutorial here I believe you could do it yourself.

Or try yahoo/google search for them.

Share this post


Link to post
Share on other sites
[!--quoteo(post=387406:date=Jun 24 2006, 05:52 AM:name=alen)--][div class=\'quotetop\']QUOTE(alen @ Jun 24 2006, 05:52 AM) [snapback]387406[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Where do you think i could get it?
[/quote]
sorry, we're not here as a resource for ready made scripts. we (try to) help you fix your own code that you are working on.

Share this post


Link to post
Share on other sites
[a href=\"http://www.phpfreaks.com/tutorial_cat/8/Basics-&-Beginner-Tutorials.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorial_cat/8/Ba...r-Tutorials.php[/a]

Learn the basic first, then gotta learn cookie and session.

Share this post


Link to post
Share on other sites
I know the basics so...

I'm going to start with an admin login page. Only the admin will be adding members.

Everything will be stored in a MySQL database, wich then spits out the members information.

Any pointers before i start?

Share this post


Link to post
Share on other sites
Now you need to learn session, btw.. Don't ask me about session. I'm still learning it at the moment. :P

Share this post


Link to post
Share on other sites
sessions are really easy. at the beginning of your script, put this:
[code]
<?php
session_start();

//rest of code here
[/code]

then to make a session variable, you just do this:

[code]
$_SESSION['shiz'] = 'i am teh shiz';
[/code]

so let's say you have 2 pages. page1.php will make your variable. page2.php will print it out:

page1.php
[code]
<?php
   session_start(); //tell php we want to access session variables
  
   $_SESSION['shiz'] = 'I am teh shiz'; //create a session var

   //make a simple link to the 2nd page
   echo "<a href='page2.php'>click me to go to page2</a>";
?>
[/code]

page2.php
[code]
<?php
   session_start(); //tell php we want to access session variables

   //always good to check to make sure the variable exists
   //rather than assume it does.
   if ($_SESSION['shiz']) {
     //echo the value out
     echo $_SESSION['shiz'];
   }
?>
[/code]

Share this post


Link to post
Share on other sites
I know how to deal with session.

Anyways.. I get this parse error,

Parse error: parse error, unexpected $end in C:\public_html\members\admin.php on line 306.

Here's my code, [a href=\"http://techmonkeys.org/eggpaste/12\" target=\"_blank\"]http://techmonkeys.org/eggpaste/12[/a]

Any ideas?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.