Thursday, 25 October 2007

XXamp




THis is the user interface of XXamp it appears to e easy to use and is probably the best way to work with php bar Notepad ++

Monday, 22 October 2007

PHP Basic

A PHP scripting block always starts with . A PHP scripting block can be placed anywhere in the document.

On servers with shorthand support enabled you can start a scripting block with .

However, for maximum compatibility, you should use the standard form (
All variables in PHP start with a $ sign symbol.


In PHP a variable does not need to be declared before being set.

PHP automatically converts the variable to the correct data type, depending on how they are set.



A variable name must start with a letter or an underscore "_"
A variable name can only contain alpha-numeric characters and underscores (a-Z, 0-9, and _ )
A variable name should not contain spaces. If a variable name is more than one word, it should be separated with underscore ($my_string), or with capitalization ($myString

A string variable is used to store and manipulate a piece of text.



The concatenation operator (.) is used to put two string values together.

Thursday, 18 October 2007




We now have a chance to try a new programming language in the form of Php
For those that aren't that familiar with this here are some key points which I will be explainig over my next few posts

PHP stands for PHP: Hypertext Preprocessor
PHP is a server-side scripting language, like ASP
PHP scripts are executed on the server
PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
PHP is an open source software (OSS)
PHP is free to download and use

Wednesday, 10 October 2007

Peters Petrol Pumps

My aim with this project is to be able to create a program that is able to work with a VB interface as far as letting a basic person ignorant of such programming techniques use this system and succeed in inputting the formula or any other basic ideas and getting a useful output from the device. This in my belief is a very useful tool.
I have to have
an appropriate input area
an appropriate output area
a nice graphical interface and and hopefully it will be simple enoughto usre

Tuesday, 9 October 2007

VB 07



This is the beginning of my life sentence with VB. Bascially Vb is a visually based environment it has many advantages over the many false heirs to the throne, most of the time it can lead to frustration but in the end it works for the best

Monday, 8 October 2007

Tasks

task 1
A)-4, 2 , 1
B)3
C)-4

Task 2
A)-64,32,16,8,4,2,1
B)63
C)64

Task 3
A)4 = 00100
B)8 = 01000
C)11 = 01011