|
|
user24_testtesttest
|
|
User24
|
$plural = "s"; for($beers=99 ; $beers>0 ; $beers--) { if($beers==1) { $plural=""; } echo "$beers Bottle$plural of Beer<br />"; echo "hangin out on my wall<br />"; echo "I take one down and pass it round you all<br /><br />"; echo "So now there's "; } echo "none.<br /><br />your round!";
|
030321
|
|
... |
|
cube
|
What language looks like C but uses '$' to identify it's variables? ³
|
030321
|
|
... |
|
User24
|
PHP (www.php.net)
|
030321
|
|
... |
|
cube
|
Thanks. I checked out the site. As far as I can determine, PHP is a web page programming language (similar to Java?). Is this correct? Why not just use C since the sytax appears so similar? ³
|
030322
|
|
... |
|
cube
|
oops... SYNTAX
|
030322
|
|
... |
|
User24
|
because PHP does not need compiling, and is a lot simpler - it handles all the memory management, also PHP is solely for the web, and has a whole load of easily integrateble plugins, eg you can creat PDF docs on the fly, images, flash movies, and so forth. It's also server side, so anything from MSIE to WAP can use PHP, with no downloads required. You also don't need to have special permissions set on a PHP file for it to run, unlike PERL.
|
030324
|
|
... |
|
User24
|
and it's developed by the open source community (dunno if perl is?) anyway perl sucks.
|
030414
|
|
|
what's it to you?
who
go
|
blather
from
|
|