Jump to content

Idefix99

New Members
  • Posts

    4
  • Joined

  • Last visited

Idefix99's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you for all the ideas. I started with the tutorials and I think this will enable to make some progress. I think I have to get familiar with a secure login system first and tackle the other problems later. Most likely those problems will disappear when I'm familiar with how a login system works.
  2. Hi all, I'm working on a hobby project to improve my skills and learn PHP and MySQL. Don't know if this is the right place to ask this question, so please let me know if it isn't. I already created a single user site. It has a simple PHP login and after login information (like personal information and messages) is pulled from the database and shown. The personal information is stored in a table called settings and the messages are stored in a table called messages. I like to go to the next level and create a multi-user login, but I have no idea were to start. I think I have to switch to another login type were both PHP and MySQL are used. How has the database be designed? Can I use the same structure as in the single user site I created? How can the right (belonging to the user) information be retrieved from the database? Thanks in advance !
  3. Thank you so much for the quick reply! I tried both methods and they both work perfectly.
  4. Hi, To start I am quite new to PHP, so this will probably be a question from the 'noob' level. I would like to combine two php files. The first php file post a certain message. The second file retrieves something from a database what I want to include in the message. I found a suggestion somewhere to use ob_start(). $post_message = 'message'; I put the standardized text between the quotes. Obiviously the code below doesn't work, but I don't know how to fix this. ob_start(); include 'otherfile.php'; $result = ob_get_clean(); $post_message = 'message + $result'; Does someone know how I can include the result from the second php file into the message? Thanks in advance!
×
×
  • 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.