Jump to content

Search the Community

Showing results for tags 'user groups'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Firstly, I'm new to PhP, so I truly apologize if I'm a headache and make you want to put a fist through your screen haha I'm slowly creating a community site, and need some advice on something, if I may? I would like users to be put into the user_group database as "member" by default upon registering, but I can't seem to get my head round it Currently, I have a table on my "memberlist" page with; <td width="115px" class="Members" align="center"><?php echo htmlentities($row['username'], ENT_QUOTES, 'UTF-8'); ?></td> <td width="115px" class="Members" align="center"><?php echo htmlentities($row['user_group'], ENT_QUOTES, 'UTF-8'); ?></td> But I'm having to edit the database each time a new user signs up because it's not in-putted via the form (Forgive me if I now seem a little newbiie) I was thinking that it might be an if function on the register page? Something like; But in PhP obviously I already have user_level in my database, which is default to 0 anyway, I would just like the users to have a "group" like forums How would I go about this? I'm okay with creating databases, and/or inputting data into them via MySQL. PhP might need a little dumb down though
×
×
  • 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.