Pavlos1316 Posted March 10, 2010 Share Posted March 10, 2010 Hello, I want to create a forum for my site but I am new at forum coding. I have this mysql database: CREATE TABLE forumtutorial_posts ( postid bigint(20) NOT NULL auto_increment, author varchar(255) NOT NULL default '', title varchar(255) NOT NULL default '', post mediumtext NOT NULL, showtime varchar(255) NOT NULL default '', realtime bigint(20) NOT NULL default '0', lastposter varchar(255) NOT NULL default '', numreplies bigint(20) NOT NULL default '0', parentid bigint(20) NOT NULL default '0', lastrepliedto bigint(20) NOT NULL default '0', PRIMARY KEY (postid) ) How should I built/design my table to match this database? I am I have never did it this way... Quote Link to comment https://forums.phpfreaks.com/topic/194785-forum-coding/ Share on other sites More sharing options...
Adam Posted March 10, 2010 Share Posted March 10, 2010 That is a table.. Quote Link to comment https://forums.phpfreaks.com/topic/194785-forum-coding/#findComment-1024265 Share on other sites More sharing options...
Pavlos1316 Posted March 10, 2010 Author Share Posted March 10, 2010 How do I run it in dreamweaver to appear on the page? I always create the table and then manualy the database or through cpanel... but never created the table in dreamweaver from the code... Quote Link to comment https://forums.phpfreaks.com/topic/194785-forum-coding/#findComment-1024268 Share on other sites More sharing options...
Adam Posted March 10, 2010 Share Posted March 10, 2010 I don't know if Dreamweaver's capable of connecting to MySQL servers? Edit: my bad, apparently it can. You just need to run that SQL query.. http://www.siteground.com/tutorials/dreamweaver/dreamweaver_mysql.htm Quote Link to comment https://forums.phpfreaks.com/topic/194785-forum-coding/#findComment-1024274 Share on other sites More sharing options...
Pavlos1316 Posted March 10, 2010 Author Share Posted March 10, 2010 Ohhhh... The only thing I never liked was that bindings... And till now I had never needed them!!! God... no other way to create the table code from sqlquery? Quote Link to comment https://forums.phpfreaks.com/topic/194785-forum-coding/#findComment-1024287 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.