Jump to content

php & MySQL limitation


u0206787@nus.edu.sg

Recommended Posts

Hi,

about JavaScript and PHP, the main difference is where this two are executed. JS is executed locally, I mean in the browser, this one have events like onClick for a button or onChange for text boxes. But PHP is executed on the server (Apache for example), the PHP scripts are executed and than the results are sent in the browser in HTML format.
I tried to explain, I hope it's clear :).

Regards,
    Dymon
Link to comment
https://forums.phpfreaks.com/topic/24451-php-mysql-limitation/#findComment-111401
Share on other sites

It's not a stupid question.. people spend hours debating it :)

My experience is that perl and php are very similar in power.  Perl is better suited for text processing, and php is better suited for web applications.

Javascript is executed on the user's computer (in the browser), and it is usually used for simple tasks.  Most of the brains will be in the perl and php running on the server.

Pretty much anything you think of can be done by perl & mysql, php & mysql, perl & postgres, php & postgres, or other combinations.  Some things are easier with a particular combination.

PHP and perl are scripting languages, whereas mysql and postgres are databases.  They store data and let you fetch data.
Link to comment
https://forums.phpfreaks.com/topic/24451-php-mysql-limitation/#findComment-111669
Share on other sites

thanks dymon & btherl, I agree with you that people had been debating it but to me I keep wondering why and what the different. Yet from the web I can't find any that clearly state as what both of you had explain in just some simple words. That's a great help, thanks for your time.
Link to comment
https://forums.phpfreaks.com/topic/24451-php-mysql-limitation/#findComment-111678
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.