please do yourself a big favor and look at the mysql website. www.mysql.com there you'll find how to do it and much more. btw. the manual comes with mysql when you download it. read it and you'll soon be addicted.
or something like (on win98) cd mysql\bin mysqladmin -u root create binary_data mysql -u root database < mydb.dump mydb.dump = CREATE TABLE news (id INT(4) NOT NULL AUTO_INCREMENT PRIMARY KEY, head CHAR(100), date CHAR(10), txt TEXT, pic CHAR(100)); this is very sketchy but I hope this will put you in the right direction. Leo Kuiper "Building a map in order to find what's not lost but left behind." - Beth Orton ----- Original Message ----- From: Oli Wilkinson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 5:07 PM Subject: Re: [PHP-DB] Re: New to PHP and MySQL!!! > Many Thanks for that! It was very informative. > > However, I'm also looking for the code for the MySQL database! I'm not sure > how to do it properly! I basicaly need a table with two rows - one for the > date and the other for the text in the news item. > > Cheers > > Oli Wilkinson > "George" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > Oli, > > > > You may wish to visit www.udzone.com and have a look through a > > few of the tutorials on how to set up UD with PHP and the Phakt server > model. > > > > George > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]