Jump to content

Members List


alen

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

Link to comment
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.
Link to comment
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.
Link to comment
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?
Link to comment
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]
Link to comment
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?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.