Lou Posted August 12, 2011 Share Posted August 12, 2011 Larry, I'm more than half way done with this book. After initial problems (mainly because I haven't used DOS style commands in awhile) I'm really enjoying this edition. I had no idea you could connect to MySql with Perl or Java. Even though I'm not going to really use these languages, I'm giving it a shot. One question -- Can you use Perl to connect to the database, but then use PHP to do everything else? Do you ever use Perl/Java for connecting, or do you mainly use PHP? Thanks again. Link to comment Share on other sites More sharing options...
Jonathon Posted August 12, 2011 Share Posted August 12, 2011 I don't know but I would imagine that you couldn't connect with one language (Perl) and then use another language (PHP) to manipulate that database connection. (However, i don't actually know this for sure) Link to comment Share on other sites More sharing options...
Larry Posted August 12, 2011 Share Posted August 12, 2011 Hey Lou. Thanks for the nice words on the book. Much appreciated. Jonathon is correct: you could not use one language to connect and another language to interact. That's because the connection is represented by a variable type particular to the language. And I wouldn’t see any benefits in mixing languages like that anyway. Link to comment Share on other sites More sharing options...
Lou Posted August 12, 2011 Author Share Posted August 12, 2011 I just wanted to get some work in using another language other than PHP. I thought you could connect to the DB using Perl, then still run queries with PHP. Haha. I'll learn Perl another time. Link to comment Share on other sites More sharing options...
Recommended Posts