The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hello. This is my first post in the forums , but anyways...
I'm planning to make my new website, Below Zero Network, out of PHP. I've heard there are PHP Databases, but I can't find any information on these databases. Anyone help me here?

Also, wheres a page that helps you with forms? I mean like, example: "staff.php?id_erik". The page, with the ID code or something at the end. Where do I learn how to do stuff like that? Thanks in advance

I'm not using hypermart, thats where I just put all my misc. stuff. My site is on the http://www.Trinium.com 's servers. They have php,mysql, all of it!
And I think I found a page on webmasterbase, but I'm trying to find the exact things I want

Yeah Hypermart doesn't even have PHP if you are planning on using PHP you best look for another host. I know they are free but that is why. There are no such thing as "PHP Databases" rather PHP interacts with Databases such as MySQL, Postgresql and Oracle to name a few. MySQL is free but of course you can't run it on your hypermart account.

Please don't PM me with questions.
Use the forums, that is what they are here for.

It's the first thing that comes up if you type "database PHP" into the search box on SitePoint.com...

If you've already found this and are having trouble understanding things (this is what you seem to say above), please feel free to contact me directly with any questions you may have.

Of course, if you're trying to skip right to the sections that talk about what you want to do, I'm not surprised you don't understand anything. The article was written as a set of lessons, and each lesson relies on the knowledge you gained in the previous one. Read it from the beginning and I bet it'll make lots of sense!
<Edited by kyank on 12-16-2000 at 08:13 PM>

It seems you're quite new at the technology, and before you can really start programming, you really do need to know the basics of programming itself, and not just PHP (or MySQL). The URL id's your speak of (form.php?ID=3) are generated mostly through database results. That is, if you say to MySQL "find me all the content I have in my database table Content which has a contenttypeid of 5 (which perhaps you've made your "Content Reviews" directory. Your statement would be..

SELECT * FROM Content WHERE ContentTypeID = 6

That would generate say, for example 10 results. So what do you do with those for your user? Your print out all the results in a link, so they can choose what they want. (Stay with me, this _should_ make sense)

So you have to do a loop of some kind to print out all the information. Each table in MySQL would have an ID number. So, I would use a while loop...