March 3rd, 2000, 03:21 AM
im a newbie and im trying to decide whether to use PHP or PERL to access mysql. i have worked with perl to write some simple cgi scripts and i have seen some PHP code so i know a little bit about both languges.
March 3rd, 2000, 08:33 AM
If you have PHP available to you, by all means use it. There are a few applications where Perl might be a better choice and you can always use Perl in those situations. Most applications can be scripted much more quickly and easily with PHP.
March 3rd, 2000, 10:18 AM
I agree. PHP offers the advantage of being able to be embedded in plain HTML. If you rely on Perl, you'll have to either embed an execute call to a Perl script in your HTML or have Perl print out the entire page with function calls.
With PHP, you just put the code right into plain HTML, enclosing the code with <? ?> to make it run.
March 6th, 2000, 05:25 AM
Or look at it this way ....
My first succsesful PERL script (even one I had cut and pasted!) - several hours to get working & still do not fully understand!
My first dynamic page generator using MySQL & PHP for the first time - less than 2 hours from the first look at the manual.
can not do.