Another PHP tutorials

August 8th, 2008 by admin

To escape php from html, a PHP code block starts with “<?php” and ends with “?>”. A PHP code block can be placed anywhere in the HTML document. You may also use <? ?> but it’s not available on every servers.

To separate instructions, each instruction must end with a semicolon. The PHP closing tag also implies the end of the instruction.

This is an example on how to write PHP between html tags:

<html>

<head>

<title>PHP is fun</title>

</head>

<body>

<?php echo “This text is generated using PHP”; ?>

</body>

</html>

Tags: ,

What programming category you used? A survey shows that object oriented programming language is still more preferable than procedural or functional language.

Here’s the table that shows programming language category ratings.



Category Ratings July 2008 Delta July 2007
Object-Oriented Languages 56.6% +3.9%
Procedural Languages 41.1% -2.3%
Functional Languages 1.7% -0.3%
Logical Languages 0.7% -1.2%

Tags: , ,

Mysql is the most pervasive, reliable yet cheap/free and open source. Despite having to buy a sql server, you could use mysql for your backend data storage RDBMS software.

To connect mysql from vbnet or other net related language, you could use odbc driver. Just download the odbc driver for your operating system (that is windows). from here.

Tags: , , , ,