I honestly dont know either perl or php, but which ones better? As some of you know I am trying to make a text based game and need to work with databases and stuff. I have 2 php books and still cant figure out how to make a database work or anything. My friend whos helping me with this also knows nothing. He thought Perl would be easier for databases and stuff. We both dont know anything but which one would be easier to learn and work with?
Perl vs Php
Collapse
X
-
If you don't know anything about either language then in theory, either one you could use..
I'm a PHP man personally. Its all about preference and whether you have the patience and time to learn the language, not really what other people think.
It's your choice at the end of the day.
David-----
Do you fear the obsolescence of the metanarrative apparatus of legitimation? -
I have a book just like that and i copied the database codes from it.. and it doesnt work i think im missing the user password host stuff but i dunno what that is and i tried to figure something out with the stuff on the cpanel but i dont under stand those either.. and one of them i cant login. it says login failed..This is your life and it's ending one minute at a timeComment
-
Might be worth checking that you've also assigned the username you created for the database to the database itself.
That can be done under the MySQL Databases link in cPanel.
Stick with the books and go through them again if you don't understand something. You should start to pick it up. You just need some time and patience to get things moving.
David-----
Do you fear the obsolescence of the metanarrative apparatus of legitimation?Comment
-
I think this depends on how your going to use them.I honestly dont know either perl or php, but which ones better?
I think PHP wins out in when it comes to web applications. Perl and PHP maybe able to do the same thing but how they do them is completely different. PHP extenses are compiled machine code while Perl extension (modules) are mostly scripts that need to be compiled at runtime. Big difference.
However, Perl still has many uses besides web applications. I hope you try to learn both.
Whole mess of visual tutorial (one on creating Databases too) for cpanel here:
"Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - BuddhaComment
-
-
Or if you are at a company where they scan the URLs for "keywords" like that "f-word" in the URL!Originally posted by KyleCok allow me to go somewhat off topic...
DON'T click on this link if you are offended by bad language or cheerleaders.
OK back to the good discussion...

I'd get the big stop sign of death and a call from Human Resources right away with that one.Comment
I have the book "PHP and MySQL Web Development" and it's a fairly good book IMO. It has quite a few examples and walks you through from the beginning.
Comment