http://www.perlmonks.org?node_id=415188


in reply to PHP primer for Perl hacker?

Picking up PHP from perl is a cakewalk, I had to do it for my job, but here are a few pointers.

print is now echo, single vs. double quotes still applies, ALL variables are $foo, remember your <?php ?> tags for web pages, require is now include('file.php') if you want to organize your code, and checking /var/log/httpd/error_log is still very good ;)

as for mysql: http://us3.php.net/manual/en/ref.mysql.php and http://php.net is your friend.
amt.

perlcheat