Jump to content

Application for a site


Hydrian

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

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.