Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Old 12-13-2006, 01:10 AM How do I add ID?
Average Talker

Posts: 16
Name: O RLY? Owl
Trades: 0
PHPBB and other forum software use ID's to connect topics to posts
How do I add something like this in a custom script?
SZWH is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-13-2006, 01:55 AM Re: How do I add ID?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
you have a field in the posts table that has the topic parent id
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-13-2006, 10:15 AM Re: How do I add ID?
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 933
Trades: 7
Your question is a bit vague too.

If you told us what you want your script to do, and showed us the script thus far, we could probably assist a bit more.

Cheers
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Sir P is offline
Reply With Quote
View Public Profile Visit Sir P's homepage!
 
Old 12-13-2006, 09:33 PM Re: How do I add ID?
Average Talker

Posts: 16
Name: O RLY? Owl
Trades: 0
I'm working on a helpdesk program and I want to be able to connect replies to the main question. Unforunately I don't know how to add IDs to the tables.
SZWH is offline
Reply With Quote
View Public Profile
 
Old 12-14-2006, 08:05 AM Re: How do I add ID?
Experienced Talker

Posts: 43
Trades: 0
Quote:
ALTER TABLE table_name
ADD id INT(10) auto_increment primary key
or better yet, download NAVICAT and do those in a friendly click tack enviroment
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by Alexey; 12-14-2006 at 08:08 AM..
Alexey is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do I add ID?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21445 seconds with 12 queries