Welcome, Guest. Please login or register.
Did you miss your activation email?
02/08/12, 08:18
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  MySQL, PostgreSQL, MS SQL, Access (Moderators: Flash-db, Musicman, Ronald Wernecke, Jorge Solis, Andries Seutens)
| | |-+  New to mySQL need little help
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: New to mySQL need little help  (Read 2157 times)
zakky
Server what's that
*
Posts: 9


View Profile
« on: 12/05/08, 17:54 »

Hi guys

1st awesome site, well done.

I'm trying to setup GuestBook v2, 2 days ago I had no knowleadge of php etc and now I'm getting better and better.
Could make text saving and loading but I'm bumping my head on the database part.

How can I create a mySQL database? I've install mySQL on my PC, donno where to go...

Heres my query

CREATE TABLE guestbook (
  ID int(5) NOT NULL auto_increment,
  name text NOT NULL,
  email text NOT NULL,
  comments text NOT NULL,
  time datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (ID)
)

Thanks
« Last Edit: 12/05/08, 18:06 by zakky » Logged
zakky
Server what's that
*
Posts: 9


View Profile
« Reply #1 on: 12/05/08, 21:04 »

Would it be possible to use a .txt file instead?
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6162


View Profile WWW Email
« Reply #2 on: 12/08/08, 04:33 »

There are two (at least) version of the guestbook.
One is using a textfile, tho other a database.
In the tutorials about loading and saving, you will find all basic techniques to load and save data either to textfile, or to a database.
You should play around with these tutorials first, to get the basic feeling.
After you understand these samples, you will be able to choose the guestbook matching your needs.
Logged

happy flashing
Cool
Ronald
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!