welcome to Beerwin's Blog !

This blog has been started because there are many things that cannot be placed on the main site, but they are such good things, that they cannot be omitted. See them here.

Terms and conditions

Anyone can use any posts from my blog (except comments) with the following conditions:

  • Backlink
  • The material will not be sold
  • The material will not be used for marketing purposes
  • Multilevel Web Marketers: GO AWAY!

Tutorials moved

Filed Under (General, tutorials) by beerwin on 25-09-2009

Tagged Under :

All the tutorials available here, were moved to the main site’s Tutorials section.

PlainHTML tutorial part 3 - testing things made in PlainHTML

Filed Under (plainhtml, tutorials) by beerwin on 28-05-2009

Tagged Under : ,

PlainHTML has a well done testing funcion built in. You can either simply preview your html pages with the internal preview, or test your php stuff on a locally installed web server. This second one is able to catch php error log information and display a list of errors in your HTML Validator Message Pane, and highlight lines with errors.

Read the rest of this entry »

PlainHTML tutorial Part 2

Filed Under (plainhtml, tutorials) by beerwin on 28-01-2009

Tagged Under : , ,

Since i wrote the first part of the PlainHTML tutorial, i released a new major version of the program, and have made important changes on it, so, the second part of the PlainHTML tutorial will be about using the program, and naot about creating documents. Part 1 tells you everything about the way the program should be used to create a web page.

This part will explain the integrated FTP client in the PlainHTML 6.1

Read the rest of this entry »

PlainHTML tutorial Part 1

Filed Under (plainhtml, tutorials) by beerwin on 04-07-2008

Tagged Under : , ,

Many people searched for some kind of PlainHTML tutorials, so here it is.

HTML code presented here is XHTML 1.0 . This tutorial may require a minimal HTML knowledge. PlainHTML uses the caret and selection as reference point for inserting tags from the Tag Palette.

Read the rest of this entry »

Connecting to a MySQL database with PHP

Filed Under (PHP) by beerwin on 04-05-2008

Tagged Under : ,

In this tutorial, i will tell, how to connect to an existing MySQL database with an existing username and password.

For the first, we need the database and the credentials for it. If you are using a free web hosting service with PHP and MySQL support, you already have this information.

If you have a web server installed with PHP and MySQL, you have to create a database and a username. Since this is not part of this tutorial i will talk about it in another post.

Now, it’s time to get connected. We will create the db.inc.php file:

1
2
3
4
5
6
7
8
9
10
11
12
13
//database connection file// for first, we need to set database name, host, username and password for our connection. Modify them corresponding to your data.

$dbhost
=“localhost”;
$dbusername
=”your_username”;
$dbpassword
=“yourpassword”;
$db
=“your_db”;

//If you filled in your data, it’s time to make the connection. Don’t modify anything below this line

$connector = mysql_connect($dbhost, $dbusername, $password) or die(Could not connect to MySQL!);

$db = mysql_select_db($db, $connector) or die(“Couldn’t select database.”);

Beerwin’s blog

Filed Under (General) by beerwin on 04-05-2008

Tagged Under : , ,

You will get HTML, CSS, PHP and some Javascript tutorials, Things about PlainHTML developement (We will watch under the hood).

Subscribe to Rss Feed : Rss