Catzie.net Blog
Programming, Networking, and other Downloads by Catzie
 

PHP: Dynamic inclusion tutorial


I’m posting this because I thought that it might help some people who want to structurize their website in a way that they can easily edit pages which contain contents and pages which contain the code of the layout, as we separate layout code from contents in dynamic inclusion.

This is for PHP beginners, but I assume that you have basic knowledge about PHP variables and form submission methods if you would read this tutorial.

Continue reading »

Assembly Language: a simple shop/store program


A small program I made a year ago in Turbo Assembler.

tasm shop assembly language

It’s a shop displaying four items, each item having 9 stocks. The user is first prompted for which item he/she wishes to buy, for the quantity of the purchase, and if he wants to buy again. The program closes once the shop runs out of stock.

Continue reading »

Assembly Language: check if a one-digit input number is odd or even


assembly programming odd even number

I coded this back when I was taking up Computer System Organization. It was a homework that I decided to share in my old blog.

The program accepts a one-digit number as the input, and then shows whether that number is ODD or EVEN.

The program uses the attribute byte to highlight ODD or EVEN with a color.

Continue reading »