|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Article Discussion: Building a Threaded News System With PHP
Building a Threaded News System With PHP If you have any questions or comments about this article then please post them here.
You can read the article here . |
|
#2
|
|||
|
|||
|
Regarding Building a Threaded News System With PHP
http://www.devarticles.com/art/1/303/2 A few of the tables that where listed to be created are using the type, INTEGER Is this the same as INT in MySQL |
|
#3
|
|||
|
|||
|
zigote,
Yeah... The two are used interchangeably...
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#4
|
|||
|
|||
|
thanks, I have used INT, but I didn't know if it was correct or not..
thanks again |
|
#5
|
|||
|
|||
|
in the db_connect.php file says:
require_once 'DB.php'; But i dont have that file, in the tutorial, i didnt find where or how to get it. |
|
#6
|
|||
|
|||
|
i have the same problem whats up with it?
|
|
#7
|
|||
|
|||
|
From what I see, you will need access to a PHP build which includes PEAR.
Here's a tutorial on using PEAR: B.http://www.evolt.org/article/Abstra...AR_DB/17/21927/ Last edited by zigote : March 20th, 2003 at 04:20 PM. |
|
#8
|
|||
|
|||
|
Quote:
I would like to ask how if the user submitted the form twice? How can you validate on posting twice? Thank you. |
|
#9
|
|||
|
|||
|
Why
what is up with this?
require_once 'DB.php'; and what doest this? Firstly, the news table: id INTEGER (11) auto_increment, author VARCHAR (40), title VARCHAR (40), announcement TEXT, PRIMARY KEY(id) Now the comments table: id INTEGER (11) auto_increment, news_id INTEGER (11), rel_id INTEGER (11), replies INTEGER (11), author VARCHAR (40), title VARCHAR (40), comment TEXT, PRIMARY KEY (id) |
|
#10
|
|||
|
|||
|
leblam1, far as I know require_once 'DB.php';
is using PEAR for the database functions. Tutorial about PEAR http://www.evolt.org/article/Abstra...AR_DB/17/21927/ Also those tables you listed go into a mysql database example: PHP Code:
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Article Discussion: Building a Threaded News System With PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|