PDA

View Full Version : PHP database



sehuj
June 4th, 2001, 13:32
What's the best database for PHP scripts?
And where can I learn about PHP?

lucifer
June 4th, 2001, 14:34
php can use loads of databases but MySQL is very popular as it's both reliable and free

there are lots of php resources try www.webmonkey.com which is the only one I know from memory but there are plenty of others

learn it it's cool :cool:

sehuj
June 5th, 2001, 13:11
Do you think it's better then Perl?

lucifer
June 5th, 2001, 13:46
I'd say it's easier than perl to learn/use none of that $_ stuff though that's one of the best bits of perl

you automatically have all your cookie/query variables defined so a few less lines of code ;)

plus mixing it in with html makes it very nice

ultimately it depends what you want to do but on the whole yes

atlas
June 5th, 2001, 19:45
PHP is an excellent language to use unless you plan on doing any of the following:

1. Complex data structures
2. Has parts that aren't all on the web, like scripts to run in the shell. PHP provides this, but...
3. Need to do obscure things

I'm not so sure why people like HTML in the file PHP file either. Of course this is personal preference, but I like my code and HTML in different files.

I use perl most of the time, but PHP is a good solution for many applications.

-mk

atlas
June 5th, 2001, 19:48
Just to build off what lucifer said, perl is a beautiful language if you explore it's details. Perl is more powerful and easier than PHP when your master it's syntax and usage.

-mk

<|R0cKm@nX|>
June 6th, 2001, 03:17
PHP with mySQL is cool but its hard to get a free host that support enough mySQL space :(

Unregistered
June 15th, 2001, 11:40
php with mySQL is faster to get around. and for most of the scripts, it's easier to setup too.