Jump to content

what is appropriate code for output?


sync2007

Recommended Posts

Recently I'm designing an internet forum using PHP.

 

I'm using two tables for my forum one is called (USER)with the fields (USER_ID, USER_NAME , USER_PASS) in which registered users are stored and another called (FORUM) with the fields (SUBJECT,DETAIL,NAME,DATETIME) in which the posts are stored.

 

After a user logs into the forum with his id and password he can either post a new topic or view topics.

 

My question: what is the code I need to output the name of the author who posted the topic?

 

To make it more clear in phpfreaks forum you login with your username and password into the forum and when you post a new topic you need only to write the subject and topic details(no need to write your name), after that in the forum's page you find that your topic is posted including the author's name so how is that done?

Link to comment
https://forums.phpfreaks.com/topic/37561-what-is-appropriate-code-for-output/
Share on other sites

Archived

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

×
×
  • 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.