Jump to content

PHP DB ?


avatar.alex

Recommended Posts

I am creating an article submiting script. When I create it, I want it to retreave stuff from the table by catorgory. For example if there was a drop down box with the cat. in it. Say one of the cat. was HTML i click that and everything that has the key work of that is in that DB is brought up on the page.

 

Now i am using phpMyAdmin ok so if i were to create a table in the DB what kinds of fields would I put in like the feilds i want are going to be:

 

id

title

catorgory/keywords

type

body

authors_comments

 

If anyone could help me out with a code of a tutorial I would apperiate it and another thing could I pull up information on a DB using id like if i just wanted to read the article could it pull it up using its ID like

 

index.php?page=id

 

 

Link to comment
https://forums.phpfreaks.com/topic/44496-php-db/
Share on other sites

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.