Jump to content

Recommended Posts

I want to know if you can make a application that allows a user to make a post(topic) and allow other users to reply to that post. Is there any way to do this. If i can do that, i want to try and create a forum with it. And style it how i want it. And then maybe after beta testing upload it to my site. Please i want to know if this is possible, it would be good if this can happen.

 

Cheers Hydroo

Link to comment
https://forums.phpfreaks.com/topic/267986-application-for-a-site/
Share on other sites

http://forums.phpfreaks.com/index.php?topic=200925.0

 

Yes, you can do this. It's a lot of work because of security reasons. You will probably want to use a database like MySQL to store the posts.

There should be plenty of guides out there on this topic. Just make sure you also read some good security guides too.

You should come back when you got some coding done and you are stuck with something, or if you want some help with the security (but again, you will need to at least try to do it on your own first and be able to show us that).

I get  Resource id #10  when i do 

<?php print $result; ?>

when i load my page.

 

Here is my page code

 

<?php

session_start();
include 'config.php';

mysql_select_db("my_db");

$result = mysql_query(" SELECT * FROM `categorys` ");
$result = mysql_query(" SELECT * FROM `topics` ");

$num = mysql_numrows($result);


?>
<?php include 'header.php'; ?>
	<div id="nar">
		 
	</div>
        <div id="content">
	<?php print $result; ?>
	</div>
	<div id="nar">
		 
	</div>
<?php include 'footer.php'; ?>

 

 

  • 3 weeks later...
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.