You are here: Re: Database suggestion « PHP Programming Language « IT news, forums, messages
Re: Database suggestion

Posted by Mikhail Kovalev on 12/05/07 12:19

I mean, I don't mind using MySQL in itself, it's just that I don't
want use relational db's.
I don't know if it is possible to predefine the structures I'm using
in MySQL, because the number of levels varies etc.
Here is an example recording a single sequence of 6 elements:

How do I put this in a db?

array (
0 =>
array (
0 => 2,
1 =>
array (
1 =>
array (
0 => 1,
1 =>
array (
),
),
2 =>
array (
0 => 1,
1 =>
array (
3 =>
array (
0 => 1,
1 =>
array (
4 =>
array (
0 => 1,
1 =>
array (
3 =>
array (
0 => 1,
1 =>
array (
1 =>
array (
0 => 1,
1 =>
array (
),
),
),
),
),
),
),
),
),
),
),
),
1 =>
array (
0 => 2,
1 =>
array (
),
),
2 =>
array (
0 => 1,
1 =>
array (
3 =>
array (
0 => 1,
1 =>
array (
4 =>
array (
0 => 1,
1 =>
array (
3 =>
array (
0 => 1,
1 =>
array (
1 =>
array (
0 => 1,
1 =>
array (
),
),
),
),
),
),
),
),
),
),
3 =>
array (
0 => 2,
1 =>
array (
4 =>
array (
0 => 1,
1 =>
array (
3 =>
array (
0 => 1,
1 =>
array (
1 =>
array (
0 => 1,
1 =>
array (
),
),
),
),
),
),
1 =>
array (
0 => 1,
1 =>
array (
),
),
),
),
4 =>
array (
0 => 1,
1 =>
array (
3 =>
array (
0 => 1,
1 =>
array (
1 =>
array (
0 => 1,
1 =>
array (
),
),
),
),
),
),
)




On 5 Des, 12:42, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> Mikhail Kovalev wrote:
> > I've been adviced to use MySQL (relational db's), but are there any
> > other options beside that and var_export/include? Something that works
> > in a similar way as MySQL when adding a new element without loading the
> > whole database itself...
>
> SQLite, PostgreSQL, Oracle, Microsoft SQL Server, ...
>
> --
> Toby A Inkster BSc (Hons) ARCS
> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
> [OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 10 days, 18:31.]
>
> Sharing Music with Apple iTunes
> http://tobyinkster.co.uk/blog/2007/11/28/itunes-sharing/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация